Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Sources_Examples_FixedVoltageSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Sources_Examples_FixedVoltageSource",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.563/2.563, allocations: 393.5 MB / 408.4 MB, free: 11.03 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001269/0.001268, allocations: 174 kB / 0.4901 GB, free: 2.242 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.527/1.527, allocations: 223.1 MB / 0.7992 GB, free: 14.74 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000872/0.000872, allocations: 102.6 kB / 0.9396 GB, free: 1.91 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000325/0.000325, allocations: 7.469 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2758/0.2762, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1968/0.473, allocations: 169.4 MB / 1.395 GB, free: 12 kB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003/0.4734, allocations: 100 kB / 1.395 GB, free: 15.91 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 0.03022/0.5036, allocations: 13.15 MB / 1.408 GB, free: 2.625 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.834e-06/0.5037, allocations: 4 kB / 1.408 GB, free: 2.621 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 1.678e-05/0.5037, allocations: 7.938 kB / 1.408 GB, free: 2.613 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0006506/0.5043, allocations: 467.2 kB / 1.408 GB, free: 2.109 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/0.5044, allocations: 12.03 kB / 1.408 GB, free: 2.098 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.505e-05/0.5045, allocations: 50.53 kB / 1.408 GB, free: 2.039 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006173/0.5051, allocations: 71.64 kB / 1.408 GB, free: 1.969 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002928/0.5054, allocations: 233.5 kB / 1.408 GB, free: 1.703 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.468e-05/0.5054, allocations: 8 kB / 1.408 GB, free: 1.695 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.31e-05/0.5055, allocations: 23.98 kB / 1.409 GB, free: 1.672 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000415/0.5059, allocations: 266.5 kB / 1.409 GB, free: 1.371 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.348e-05/0.5059, allocations: 0 / 1.409 GB, free: 1.371 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.709e-05/0.506, allocations: 8 kB / 1.409 GB, free: 1.363 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.627e-05/0.506, allocations: 20.22 kB / 1.409 GB, free: 1.344 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003165/0.5063, allocations: 204.5 kB / 1.409 GB, free: 1.145 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001783/0.5081, allocations: 1.584 MB / 1.411 GB, free: 15.43 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001102/0.5083, allocations: 73.12 kB / 1.411 GB, free: 15.34 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.511e-05/0.5083, allocations: 4.125 kB / 1.411 GB, free: 15.33 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.459e-05/0.5083, allocations: 34.52 kB / 1.411 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=7): time 1.533e-06/0.5083, allocations: 8 kB / 1.411 GB, free: 15.28 MB / 0.9167 GB Notification: Performance of matching and sorting (n=8): time 0.0005272/0.5089, allocations: 228.4 kB / 1.411 GB, free: 15.05 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.121e-05/0.5089, allocations: 77.11 kB / 1.411 GB, free: 14.96 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002101/0.5091, allocations: 201.2 kB / 1.411 GB, free: 14.75 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.602e-05/0.5091, allocations: 33.64 kB / 1.411 GB, free: 14.71 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001012/0.5093, allocations: 163.4 kB / 1.411 GB, free: 14.55 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.794e-05/0.5093, allocations: 31.64 kB / 1.411 GB, free: 14.52 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.184e-05/0.5093, allocations: 4.188 kB / 1.411 GB, free: 14.51 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.000127/0.5094, allocations: 330.8 kB / 1.412 GB, free: 14.18 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001104/0.5096, allocations: 71.95 kB / 1.412 GB, free: 14.11 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000169/0.5097, allocations: 155.1 kB / 1.412 GB, free: 13.92 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000155/0.5099, allocations: 99.91 kB / 1.412 GB, free: 13.82 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.5099, allocations: 4 kB / 1.412 GB, free: 13.82 MB / 0.9167 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004253/0.5103, allocations: 273.1 kB / 1.412 GB, free: 13.54 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004633/0.5108, allocations: 1.146 MB / 1.413 GB, free: 12.31 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.5108, allocations: 0 / 1.413 GB, free: 12.31 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.753e-05/0.5108, allocations: 8 kB / 1.413 GB, free: 12.3 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002463/0.5111, allocations: 51.89 kB / 1.413 GB, free: 12.25 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.23e-05/0.5111, allocations: 4 kB / 1.413 GB, free: 12.25 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000216/0.5113, allocations: 23.97 kB / 1.413 GB, free: 12.22 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.091e-05/0.5114, allocations: 8 kB / 1.413 GB, free: 12.21 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 5.61e-06/0.5114, allocations: 4 kB / 1.413 GB, free: 12.21 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003245/0.5117, allocations: 223.6 kB / 1.414 GB, free: 11.99 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.5117, allocations: 4 kB / 1.414 GB, free: 11.99 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.601e-06/0.5117, allocations: 4 kB / 1.414 GB, free: 11.98 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001704/0.5119, allocations: 47.91 kB / 1.414 GB, free: 11.94 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.378e-06/0.5119, allocations: 12.31 kB / 1.414 GB, free: 11.93 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001413/0.5121, allocations: 19.98 kB / 1.414 GB, free: 11.91 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.088e-05/0.5121, allocations: 16 kB / 1.414 GB, free: 11.89 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (25): * Single equations (assignments): 25 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001588/0.5123, allocations: 218.5 kB / 1.414 GB, free: 11.67 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.004e-05/0.5123, allocations: 16.06 kB / 1.414 GB, free: 11.65 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002019/0.5125, allocations: 118.6 kB / 1.414 GB, free: 11.54 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.5126, allocations: 4 kB / 1.414 GB, free: 11.53 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.5126, allocations: 3.953 kB / 1.414 GB, free: 11.53 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.5126, allocations: 0 / 1.414 GB, free: 11.53 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007245/0.5133, allocations: 0.6196 MB / 1.415 GB, free: 10.83 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.5133, allocations: 4 kB / 1.415 GB, free: 10.83 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.283e-05/0.5134, allocations: 15.98 kB / 1.415 GB, free: 10.81 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.067e-06/0.5134, allocations: 8.25 kB / 1.415 GB, free: 10.8 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.1e-05/0.5134, allocations: 4 kB / 1.415 GB, free: 10.8 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.89e-06/0.5134, allocations: 7.922 kB / 1.415 GB, free: 10.79 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.5135, allocations: 4 kB / 1.415 GB, free: 10.79 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000297/0.5138, allocations: 419.8 kB / 1.415 GB, free: 10.3 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001017/0.5139, allocations: 112.8 kB / 1.415 GB, free: 10.17 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.746e-05/0.5139, allocations: 0 / 1.415 GB, free: 10.17 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002141/0.5141, allocations: 15.98 kB / 1.415 GB, free: 10.16 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.514e-05/0.5142, allocations: 11.92 kB / 1.415 GB, free: 10.14 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.943e-06/0.5142, allocations: 4 kB / 1.415 GB, free: 10.14 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0001657/0.5143, allocations: 170.9 kB / 1.415 GB, free: 9.973 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5143, allocations: 0 / 1.415 GB, free: 9.973 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0005067/0.5149, allocations: 88 kB / 1.416 GB, free: 9.887 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (8): * Single equations (assignments): 8 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009298/0.5158, allocations: 1.44 MB / 1.417 GB, free: 8.371 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0004338/0.5162, allocations: 264.9 kB / 1.417 GB, free: 8.113 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.5162, allocations: 0 / 1.417 GB, free: 8.113 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 6.342e-05/0.5163, allocations: 52.41 kB / 1.417 GB, free: 8.062 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003404/0.5167, allocations: 28.12 kB / 1.417 GB, free: 8.035 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00222/0.5189, allocations: 2.935 MB / 1.42 GB, free: 4.98 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003352/0.5192, allocations: 0.744 MB / 1.421 GB, free: 4.207 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0002126/0.5195, allocations: 69.47 kB / 1.421 GB, free: 4.141 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.572e-05/0.5196, allocations: 47.42 kB / 1.421 GB, free: 4.094 MB / 0.9167 GB Notification: Performance of SimCode: time 6.71e-07/0.5196, allocations: 0 / 1.421 GB, free: 4.094 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01427/0.5338, allocations: 3.198 MB / 1.424 GB, free: 1.07 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001974/0.5341, allocations: 207.2 kB / 1.424 GB, free: 0.8281 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.72/2.254, allocations: 0 / 1.424 GB, free: 0.8281 MB / 0.9167 GB (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_OnePhase_Sources_Examples_FixedVoltageSource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_OnePhase_Sources_Examples_FixedVoltageSource.fmu > Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource_res.mat does not exist to compare? outputFormat=mat