Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Sources_Examples_FixedVoltageSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Sources_Examples_FixedVoltageSource",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.0008837/0.0008837, allocations: 97.28 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001081/0.001081, allocations: 175.1 kB / 16.57 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.379/1.379, allocations: 223.2 MB / 240.5 MB, free: 5.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7044/0.7044, allocations: 113.7 MB / 405.3 MB, free: 4.684 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003344/0.0003344, allocations: 8.656 kB / 493 MB, free: 8.598 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1698/0.1702, allocations: 77.11 MB / 0.5567 GB, free: 11.69 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource): time 0.002798/0.173, allocations: 2.027 MB / 0.5587 GB, free: 9.656 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001941/0.175, allocations: 1.29 MB / 0.56 GB, free: 8.359 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.163e-05/0.1751, allocations: 7.938 kB / 0.56 GB, free: 8.352 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001367/0.1753, allocations: 23.84 kB / 0.56 GB, free: 8.328 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003047/0.1756, allocations: 75.8 kB / 0.5601 GB, free: 8.254 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003754/0.176, allocations: 151.5 kB / 0.5602 GB, free: 8.105 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001937/0.1762, allocations: 123.8 kB / 0.5603 GB, free: 7.984 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004332/0.1766, allocations: 226 kB / 0.5605 GB, free: 7.742 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001184/0.1767, allocations: 55.77 kB / 0.5606 GB, free: 7.688 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001954/0.1769, allocations: 67.75 kB / 0.5607 GB, free: 7.621 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.141e-05/0.177, allocations: 8 kB / 0.5607 GB, free: 7.613 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002164/0.1772, allocations: 107.8 kB / 0.5608 GB, free: 7.508 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 6.549e-05/0.1773, allocations: 51.81 kB / 0.5608 GB, free: 7.457 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.565e-05/0.1773, allocations: 53.64 kB / 0.5609 GB, free: 7.398 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002447/0.1776, allocations: 195.8 kB / 0.5611 GB, free: 7.207 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.444e-06/0.1776, allocations: 0 / 0.5611 GB, free: 7.207 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.367e-06/0.1776, allocations: 3.984 kB / 0.5611 GB, free: 7.203 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.06e-06/0.1776, allocations: 0 / 0.5611 GB, free: 7.203 MB / 430.1 MB 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.0006743/0.1783, allocations: 451 kB / 0.5615 GB, free: 6.711 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/0.1783, allocations: 8.031 kB / 0.5615 GB, free: 6.703 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.682e-05/0.1784, allocations: 54.48 kB / 0.5616 GB, free: 6.641 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005241/0.1789, allocations: 71.73 kB / 0.5616 GB, free: 6.57 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000245/0.1792, allocations: 220.5 kB / 0.5618 GB, free: 6.316 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.524e-05/0.1792, allocations: 8.281 kB / 0.5618 GB, free: 6.309 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.498e-05/0.1792, allocations: 15.97 kB / 0.5619 GB, free: 6.293 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003906/0.1796, allocations: 287.6 kB / 0.5621 GB, free: 5.977 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.1797, allocations: 4 kB / 0.5621 GB, free: 5.973 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.973e-05/0.1797, allocations: 0 / 0.5621 GB, free: 5.973 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.645e-05/0.1797, allocations: 20.22 kB / 0.5622 GB, free: 5.949 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002945/0.18, allocations: 209.2 kB / 0.5624 GB, free: 5.746 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001787/0.1818, allocations: 1.584 MB / 0.5639 GB, free: 4.027 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004217/0.1823, allocations: 323.2 kB / 0.5642 GB, free: 3.656 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.742e-05/0.1823, allocations: 0 / 0.5642 GB, free: 3.656 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.205e-05/0.1823, allocations: 34.56 kB / 0.5642 GB, free: 3.613 MB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 9.62e-07/0.1823, allocations: 0 / 0.5642 GB, free: 3.613 MB / 430.1 MB Notification: Performance of matching and sorting (n=10): time 0.0006129/0.183, allocations: 241.1 kB / 0.5645 GB, free: 3.371 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.746e-05/0.183, allocations: 85.05 kB / 0.5646 GB, free: 3.27 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002064/0.1832, allocations: 203.5 kB / 0.5648 GB, free: 3.062 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.094e-05/0.1833, allocations: 29.7 kB / 0.5648 GB, free: 3.027 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001161/0.1834, allocations: 151.6 kB / 0.5649 GB, free: 2.875 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.598e-05/0.1834, allocations: 35.55 kB / 0.565 GB, free: 2.84 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.128e-05/0.1835, allocations: 4 kB / 0.565 GB, free: 2.836 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001393/0.1836, allocations: 330.8 kB / 0.5653 GB, free: 2.504 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001005/0.1837, allocations: 67.89 kB / 0.5653 GB, free: 2.438 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001643/0.1839, allocations: 151.5 kB / 0.5655 GB, free: 2.254 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001409/0.184, allocations: 91.91 kB / 0.5656 GB, free: 2.164 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.184, allocations: 0 / 0.5656 GB, free: 2.164 MB / 430.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000364/0.1844, allocations: 253.5 kB / 0.5658 GB, free: 1.91 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006049/0.185, allocations: 1.145 MB / 0.5669 GB, free: 0.6797 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.353e-05/0.185, allocations: 8.016 kB / 0.5669 GB, free: 0.6719 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.212e-05/0.1851, allocations: 4 kB / 0.5669 GB, free: 0.668 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002441/0.1853, allocations: 51.91 kB / 0.567 GB, free: 0.6172 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.345e-05/0.1854, allocations: 7.984 kB / 0.567 GB, free: 0.6094 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000147/0.1855, allocations: 23.88 kB / 0.567 GB, free: 0.5859 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.55e-05/0.1855, allocations: 11.98 kB / 0.567 GB, free: 0.5742 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.462e-06/0.1856, allocations: 4 kB / 0.567 GB, free: 0.5703 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002951/0.1859, allocations: 191.9 kB / 0.5672 GB, free: 392 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.1859, allocations: 8.062 kB / 0.5672 GB, free: 384 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.621e-06/0.1859, allocations: 4 kB / 0.5672 GB, free: 380 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001746/0.1861, allocations: 47.91 kB / 0.5673 GB, free: 332 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.1861, allocations: 4 kB / 0.5673 GB, free: 328 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001017/0.1862, allocations: 15.98 kB / 0.5673 GB, free: 312 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.515e-05/0.1862, allocations: 8 kB / 0.5673 GB, free: 304 kB / 430.1 MB 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.0002012/0.1864, allocations: 217 kB / 0.5675 GB, free: 76 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.246e-05/0.1865, allocations: 19.77 kB / 0.5675 GB, free: 56 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003188/0.1868, allocations: 154.9 kB / 0.5677 GB, free: 15.9 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.313e-06/0.1868, allocations: 0 / 0.5677 GB, free: 15.9 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.195e-05/0.1868, allocations: 7.938 kB / 0.5677 GB, free: 15.89 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/0.1869, allocations: 0 / 0.5677 GB, free: 15.89 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001106/0.188, allocations: 0.7156 MB / 0.5684 GB, free: 15.09 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.912e-06/0.188, allocations: 7.984 kB / 0.5684 GB, free: 15.08 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000105/0.1881, allocations: 23.98 kB / 0.5684 GB, free: 15.06 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.179e-06/0.1881, allocations: 4 kB / 0.5684 GB, free: 15.05 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.612e-05/0.1881, allocations: 4.125 kB / 0.5684 GB, free: 15.05 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.152e-06/0.1881, allocations: 7.938 kB / 0.5684 GB, free: 15.04 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.489e-06/0.1882, allocations: 4.344 kB / 0.5684 GB, free: 15.04 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004995/0.1887, allocations: 0.4971 MB / 0.5689 GB, free: 14.44 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001181/0.1888, allocations: 108.8 kB / 0.569 GB, free: 14.31 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.354e-05/0.1888, allocations: 4 kB / 0.569 GB, free: 14.31 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001577/0.189, allocations: 11.98 kB / 0.569 GB, free: 14.3 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.752e-05/0.1891, allocations: 23.92 kB / 0.5691 GB, free: 14.27 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.063e-05/0.1891, allocations: 7.984 kB / 0.5691 GB, free: 14.27 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001566/0.1892, allocations: 149.1 kB / 0.5692 GB, free: 14.12 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.204e-06/0.1893, allocations: 0 / 0.5692 GB, free: 14.12 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005315/0.1898, allocations: 75.94 kB / 0.5693 GB, free: 14.05 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (11): * Single equations (assignments): 11 * 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.001248/0.1911, allocations: 1.713 MB / 0.571 GB, free: 12.24 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004389/0.1915, allocations: 256.9 kB / 0.5712 GB, free: 11.99 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.1915, allocations: 0 / 0.5712 GB, free: 11.99 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.413e-05/0.1916, allocations: 64.33 kB / 0.5713 GB, free: 11.93 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003762/0.192, allocations: 34.73 kB / 0.5713 GB, free: 11.9 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002571/0.1946, allocations: 2.954 MB / 0.5742 GB, free: 8.812 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003371/0.1949, allocations: 0.7363 MB / 0.5749 GB, free: 8.051 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001965/0.1951, allocations: 73.45 kB / 0.575 GB, free: 7.98 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.602e-05/0.1952, allocations: 47.42 kB / 0.575 GB, free: 7.934 MB / 446.1 MB Notification: Performance of SimCode: time 9.82e-07/0.1952, allocations: 0 / 0.575 GB, free: 7.934 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01466/0.2099, allocations: 3.26 MB / 0.5782 GB, free: 4.844 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002718/0.2102, allocations: 198.1 kB / 0.5784 GB, free: 4.605 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.612/1.822, allocations: 0 / 0.5784 GB, free: 4.605 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Sources_Examples_FixedVoltageSource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Sources_Examples_FixedVoltageSource.fmu > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe 2>&1) Environment - environmentSimulation: