Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001656/0.001656, allocations: 99.55 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00248/0.00248, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.607/2.607, allocations: 223.2 MB / 239.9 MB, free: 5.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.869/4.869, allocations: 409.2 MB / 0.6838 GB, free: 0.9453 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0006823/0.0006827, allocations: 12 kB / 0.8375 GB, free: 6.598 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.548/1.549, allocations: 146.8 MB / 0.9809 GB, free: 6.332 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.04293/1.592, allocations: 19.82 MB / 1 GB, free: 2.457 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.02118/1.614, allocations: 5.975 MB / 1.006 GB, free: 12.47 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004385/1.618, allocations: 75.5 kB / 1.006 GB, free: 12.4 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.003256/1.621, allocations: 429.3 kB / 1.007 GB, free: 11.98 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.008274/1.63, allocations: 1.11 MB / 1.008 GB, free: 10.86 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.005871/1.636, allocations: 0.8297 MB / 1.008 GB, free: 10.04 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.01167/1.647, allocations: 2.82 MB / 1.011 GB, free: 7.211 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0228/1.67, allocations: 6.221 MB / 1.017 GB, free: 0.9336 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0065/1.677, allocations: 1.51 MB / 1.019 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006954/1.684, allocations: 1.717 MB / 1.02 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.002677/1.687, allocations: 204 kB / 1.021 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004558/1.691, allocations: 455.5 kB / 1.021 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.006368/1.698, allocations: 1.567 MB / 1.023 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.003911/1.702, allocations: 0.7303 MB / 1.023 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.01376/1.716, allocations: 5.901 MB / 1.029 GB, free: 4.828 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.964e-06/1.716, allocations: 0 / 1.029 GB, free: 4.828 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.504e-06/1.716, allocations: 0 / 1.029 GB, free: 4.828 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 0.0003948/1.716, allocations: 0 / 1.029 GB, free: 4.828 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 913 * Number of variables: 913 Notification: Performance of Generate backend data structure: time 0.01622/1.732, allocations: 3.087 MB / 1.032 GB, free: 1.68 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001058/1.732, allocations: 8.031 kB / 1.032 GB, free: 1.672 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00326/1.736, allocations: 0.4935 MB / 1.033 GB, free: 1.168 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01303/1.749, allocations: 1.256 MB / 1.034 GB, free: 15.9 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01074/1.76, allocations: 2.165 MB / 1.036 GB, free: 13.68 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006507/1.76, allocations: 250.1 kB / 1.036 GB, free: 13.44 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002602/1.763, allocations: 308 kB / 1.036 GB, free: 13.14 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02723/1.79, allocations: 6.162 MB / 1.042 GB, free: 6.719 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001522/1.79, allocations: 15.78 kB / 1.042 GB, free: 6.703 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007539/1.791, allocations: 143.9 kB / 1.043 GB, free: 6.562 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001013/1.792, allocations: 406.3 kB / 1.043 GB, free: 6.164 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.017/1.809, allocations: 4.635 MB / 1.048 GB, free: 1.52 MB / 0.795 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07863/1.888, allocations: 29.07 MB / 1.076 GB, free: 1.734 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005209/1.893, allocations: 1.416 MB / 1.077 GB, free: 312 kB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002827/1.894, allocations: 13 kB / 1.077 GB, free: 300 kB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.019e-05/1.894, allocations: 47.56 kB / 1.077 GB, free: 244 kB / 0.8262 GB Notification: Performance of pre-optimization done (n=110): time 8.926e-06/1.894, allocations: 0 / 1.077 GB, free: 244 kB / 0.8262 GB Notification: Performance of matching and sorting (n=179): time 0.2591/2.153, allocations: 36.3 MB / 1.113 GB, free: 11.86 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001305/2.153, allocations: 69.41 kB / 1.113 GB, free: 11.78 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005342/2.159, allocations: 1.415 MB / 1.114 GB, free: 10.36 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0009419/2.16, allocations: 53.7 kB / 1.114 GB, free: 10.3 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.002507/2.162, allocations: 1.531 MB / 1.116 GB, free: 8.746 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.001955/2.164, allocations: 0.6161 MB / 1.116 GB, free: 8.121 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000778/2.165, allocations: 40 kB / 1.116 GB, free: 8.082 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0005371/2.165, allocations: 385.9 kB / 1.117 GB, free: 7.699 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005832/2.171, allocations: 1.78 MB / 1.119 GB, free: 5.914 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007138/2.178, allocations: 2.331 MB / 1.121 GB, free: 3.332 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006267/2.185, allocations: 2.059 MB / 1.123 GB, free: 1.273 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.626e-05/2.185, allocations: 7.953 kB / 1.123 GB, free: 1.266 MB / 0.8731 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.03619/2.221, allocations: 8.536 MB / 1.131 GB, free: 8.691 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 7.218e-05/2.221, allocations: 12 kB / 1.131 GB, free: 8.68 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000185/2.221, allocations: 20 kB / 1.131 GB, free: 8.66 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02639/2.248, allocations: 4.63 MB / 1.136 GB, free: 4.016 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002354/2.25, allocations: 307.4 kB / 1.136 GB, free: 3.715 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08382/2.334, allocations: 30.82 MB / 1.166 GB, free: 4.078 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003946/2.338, allocations: 155.8 kB / 1.166 GB, free: 3.926 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005151/2.339, allocations: 80 kB / 1.166 GB, free: 3.848 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (157): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(11,90.1%) 13,(11,91.7%) 13,(6,100.0%) 12,(6,100.0%) 12,(6,100.0%) 6,(6,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004902/2.344, allocations: 1.329 MB / 1.168 GB, free: 2.508 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008732/2.345, allocations: 197.7 kB / 1.168 GB, free: 2.312 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02939/2.374, allocations: 8.422 MB / 1.176 GB, free: 9.844 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.402e-05/2.374, allocations: 20 kB / 1.176 GB, free: 9.824 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000138/2.374, allocations: 27.95 kB / 1.176 GB, free: 9.797 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.814e-05/2.374, allocations: 11.95 kB / 1.176 GB, free: 9.785 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04507/2.419, allocations: 12.82 MB / 1.189 GB, free: 12.8 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.266e-05/2.42, allocations: 8 kB / 1.189 GB, free: 12.79 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001425/2.421, allocations: 167.7 kB / 1.189 GB, free: 12.63 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02483/2.446, allocations: 4.48 MB / 1.193 GB, free: 8.133 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009613/2.447, allocations: 40 kB / 1.193 GB, free: 8.094 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08601/2.533, allocations: 30.46 MB / 1.223 GB, free: 8.824 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.949e-05/2.533, allocations: 11.94 kB / 1.223 GB, free: 8.812 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03252/2.566, allocations: 8.623 MB / 1.231 GB, free: 15.89 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003264/2.569, allocations: 0.6196 MB / 1.232 GB, free: 15.25 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001222/2.57, allocations: 39.98 kB / 1.232 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003581/2.574, allocations: 139.8 kB / 1.232 GB, free: 15.07 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001768/2.576, allocations: 176.8 kB / 1.232 GB, free: 14.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004727/2.576, allocations: 44 kB / 1.232 GB, free: 14.86 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.003389/2.58, allocations: 0.947 MB / 1.233 GB, free: 13.91 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9.51e-07/2.58, allocations: 0 / 1.233 GB, free: 13.91 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.009964/2.59, allocations: 1.113 MB / 1.234 GB, free: 12.8 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (80): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(6,100.0%) 6,(6,100.0%) 12,(11,91.7%) 13,(6,100.0%) 6,(6,100.0%) 12,(11,91.7%) 13} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.03225/2.622, allocations: 10.98 MB / 1.245 GB, free: 1.574 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 1.224/3.846, allocations: 6.403 MB / 1.251 GB, free: 250.7 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-05/3.846, allocations: 0.875 kB / 1.251 GB, free: 250.7 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.01873/3.865, allocations: 4.298 MB / 1.256 GB, free: 249.9 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005929/3.871, allocations: 462.8 kB / 1.256 GB, free: 249.9 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08337/3.954, allocations: 36.04 MB / 1.291 GB, free: 226.9 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004975/3.959, allocations: 2.789 MB / 1.294 GB, free: 224.4 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002121/3.961, allocations: 388.4 kB / 1.294 GB, free: 224.1 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002241/3.964, allocations: 1.218 MB / 1.295 GB, free: 222.9 MB / 0.9981 GB Notification: Performance of SimCode: time 3.457e-06/3.964, allocations: 0 / 1.295 GB, free: 222.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2253/4.189, allocations: 78.65 MB / 1.372 GB, free: 144.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0005169/4.19, allocations: 239.2 kB / 1.373 GB, free: 144.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.079/10.27, allocations: 3.375 kB / 1.373 GB, free: 144.5 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_res.mat does not exist to compare? outputFormat=mat