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.638/2.638, allocations: 390.3 MB / 402.8 MB, free: 6.676 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.0009944/0.0009946, allocations: 169 kB / 496.1 MB, free: 12.86 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.627/1.627, allocations: 221.3 MB / 0.7915 GB, free: 5.387 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.0009194/0.0009197, allocations: 76.03 kB / 0.9317 GB, free: 5.711 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.454e-05/3.457e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3035/0.3035, allocations: 143 MB / 1.219 GB, free: 13.4 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.084/1.387, allocations: 169.4 MB / 1.384 GB, free: 2.195 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002613/1.388, allocations: 90.31 kB / 1.384 GB, free: 2.145 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 0.03338/1.421, allocations: 13.06 MB / 1.397 GB, free: 7.09 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.804e-06/1.421, allocations: 0 / 1.397 GB, free: 7.09 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 2.086e-05/1.421, allocations: 4 kB / 1.397 GB, free: 7.086 MB / 0.8542 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.0007356/1.422, allocations: 464.3 kB / 1.398 GB, free: 6.602 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.609e-05/1.422, allocations: 8.031 kB / 1.398 GB, free: 6.594 MB / 0.8542 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.099e-05/1.422, allocations: 48.48 kB / 1.398 GB, free: 6.543 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006412/1.423, allocations: 66.38 kB / 1.398 GB, free: 6.48 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003081/1.423, allocations: 236 kB / 1.398 GB, free: 6.219 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.952e-05/1.423, allocations: 13.44 kB / 1.398 GB, free: 6.211 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.932e-05/1.423, allocations: 11.12 kB / 1.398 GB, free: 6.203 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005213/1.423, allocations: 279.3 kB / 1.398 GB, free: 5.949 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.581e-05/1.424, allocations: 0 / 1.398 GB, free: 5.949 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.485e-05/1.424, allocations: 6.609 kB / 1.398 GB, free: 5.945 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.648e-05/1.424, allocations: 15.98 kB / 1.398 GB, free: 5.934 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003273/1.424, allocations: 203.7 kB / 1.398 GB, free: 5.793 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001821/1.426, allocations: 1.585 MB / 1.4 GB, free: 4.203 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001027/1.426, allocations: 74.62 kB / 1.4 GB, free: 4.121 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.252e-05/1.426, allocations: 52.31 kB / 1.4 GB, free: 4.074 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.433e-05/1.426, allocations: 7.938 kB / 1.4 GB, free: 4.066 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.382e-05/1.426, allocations: 38.5 kB / 1.4 GB, free: 4.02 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=7): time 1.213e-06/1.426, allocations: 0 / 1.4 GB, free: 4.02 MB / 0.8542 GB Notification: Performance of matching and sorting (n=8): time 0.0004388/1.426, allocations: 184.2 kB / 1.4 GB, free: 3.855 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.843e-05/1.427, allocations: 81.11 kB / 1.4 GB, free: 3.758 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002263/1.427, allocations: 203.6 kB / 1.401 GB, free: 3.578 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.088e-05/1.427, allocations: 29.08 kB / 1.401 GB, free: 3.547 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 9.257e-05/1.427, allocations: 165.2 kB / 1.401 GB, free: 3.395 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.186e-05/1.427, allocations: 26.75 kB / 1.401 GB, free: 3.371 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.039e-05/1.427, allocations: 3.438 kB / 1.401 GB, free: 3.371 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001345/1.427, allocations: 333.6 kB / 1.401 GB, free: 3.043 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001363/1.427, allocations: 67.42 kB / 1.401 GB, free: 3 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001756/1.427, allocations: 164 kB / 1.401 GB, free: 2.832 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001586/1.428, allocations: 100.7 kB / 1.401 GB, free: 2.762 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/1.428, allocations: 0 / 1.401 GB, free: 2.762 MB / 0.8542 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004064/1.428, allocations: 274 kB / 1.402 GB, free: 2.543 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005242/1.429, allocations: 1.139 MB / 1.403 GB, free: 1.336 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.189e-05/1.429, allocations: 7.984 kB / 1.403 GB, free: 1.328 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.033e-05/1.429, allocations: 8 kB / 1.403 GB, free: 1.32 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002383/1.429, allocations: 51.28 kB / 1.403 GB, free: 1.273 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.13e-05/1.429, allocations: 4 kB / 1.403 GB, free: 1.27 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002195/1.429, allocations: 27.31 kB / 1.403 GB, free: 1.246 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.583e-05/1.429, allocations: 15.98 kB / 1.403 GB, free: 1.23 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 8.175e-06/1.429, allocations: 0 / 1.403 GB, free: 1.23 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003104/1.429, allocations: 216.4 kB / 1.403 GB, free: 1.07 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/1.429, allocations: 4 kB / 1.403 GB, free: 1.066 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.292e-06/1.429, allocations: 4 kB / 1.403 GB, free: 1.062 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001856/1.43, allocations: 55.61 kB / 1.403 GB, free: 1.012 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.693e-06/1.43, allocations: 4 kB / 1.403 GB, free: 1.008 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001402/1.43, allocations: 11.98 kB / 1.403 GB, free: 0.9961 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.737e-05/1.43, allocations: 15.38 kB / 1.403 GB, free: 0.9844 MB / 0.8542 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 () * 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 9.243e-05/1.43, allocations: 120.5 kB / 1.403 GB, free: 0.8633 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.445e-05/1.43, allocations: 19.8 kB / 1.403 GB, free: 0.8438 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002081/1.43, allocations: 115.3 kB / 1.403 GB, free: 0.75 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/1.43, allocations: 0 / 1.403 GB, free: 0.75 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/1.43, allocations: 3.953 kB / 1.403 GB, free: 0.7461 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.616e-06/1.43, allocations: 0 / 1.403 GB, free: 0.7461 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007447/1.431, allocations: 0.6304 MB / 1.404 GB, free: 108 kB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/1.431, allocations: 0 / 1.404 GB, free: 108 kB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.114e-05/1.431, allocations: 19.98 kB / 1.404 GB, free: 88 kB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/1.431, allocations: 0 / 1.404 GB, free: 88 kB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.363e-05/1.431, allocations: 4 kB / 1.404 GB, free: 84 kB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.739e-06/1.431, allocations: 4.125 kB / 1.404 GB, free: 80 kB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.564e-06/1.431, allocations: 8.188 kB / 1.404 GB, free: 72 kB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003536/1.432, allocations: 409 kB / 1.404 GB, free: 15.62 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001006/1.432, allocations: 108.2 kB / 1.405 GB, free: 15.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.046e-05/1.432, allocations: 7.984 kB / 1.405 GB, free: 15.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001655/1.432, allocations: 8 kB / 1.405 GB, free: 15.49 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.387e-05/1.432, allocations: 18.92 kB / 1.405 GB, free: 15.47 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.075e-06/1.432, allocations: 4 kB / 1.405 GB, free: 15.47 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.00015/1.432, allocations: 161.5 kB / 1.405 GB, free: 15.34 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.6e-07/1.432, allocations: 0 / 1.405 GB, free: 15.34 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0005219/1.433, allocations: 91.17 kB / 1.405 GB, free: 15.25 MB / 0.8698 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 () * 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.0008563/1.433, allocations: 1.431 MB / 1.406 GB, free: 13.79 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.000438/1.434, allocations: 270.4 kB / 1.406 GB, free: 13.59 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/1.434, allocations: 0 / 1.406 GB, free: 13.59 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 6.182e-05/1.434, allocations: 51.34 kB / 1.407 GB, free: 13.55 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003225/1.434, allocations: 32.31 kB / 1.407 GB, free: 13.52 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008682/1.435, allocations: 333.6 kB / 1.407 GB, free: 13.18 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003375/1.436, allocations: 0.7431 MB / 1.408 GB, free: 12.41 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0002239/1.436, allocations: 77.5 kB / 1.408 GB, free: 12.34 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.951e-05/1.436, allocations: 44.23 kB / 1.408 GB, free: 12.32 MB / 0.8698 GB Notification: Performance of SimCode: time 7.12e-07/1.436, allocations: 0 / 1.408 GB, free: 12.32 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01484/1.451, allocations: 3.31 MB / 1.411 GB, free: 9.184 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001838/1.451, allocations: 179.9 kB / 1.411 GB, free: 8.957 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.847/3.298, allocations: 0 / 1.411 GB, free: 8.957 MB / 0.8698 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