Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.DC.Sources.Examples.VoltageSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001168/0.001168, allocations: 110.8 kB / 17.54 MB, free: 4.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001191/0.001191, allocations: 189.9 kB / 20.71 MB, free: 1.484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.29/1.29, allocations: 225.6 MB / 249.3 MB, free: 3.172 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9701/0.9701, allocations: 175.7 MB / 480.1 MB, free: 2.758 MB / 366.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Electrical.DC.Sources.Examples.VoltageSource,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_DC_Sources_Examples_VoltageSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.DC.Sources.Examples.VoltageSource,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_DC_Sources_Examples_VoltageSource",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001765/0.001765, allocations: 67.83 kB / 0.6677 GB, free: 11 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1514/0.1531, allocations: 94.52 MB / 0.76 GB, free: 0.832 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Sources.Examples.VoltageSource): time 0.004662/0.1578, allocations: 3.317 MB / 0.7633 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002053/0.1599, allocations: 1.414 MB / 0.7647 GB, free: 12.08 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001096/0.16, allocations: 8 kB / 0.7647 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0009982/0.161, allocations: 361.6 kB / 0.765 GB, free: 11.72 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0003068/0.1613, allocations: 147.2 kB / 0.7652 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00032/0.1616, allocations: 147.6 kB / 0.7653 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0003886/0.162, allocations: 338.8 kB / 0.7656 GB, free: 11.1 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003553/0.1623, allocations: 171.8 kB / 0.7658 GB, free: 10.92 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001954/0.1625, allocations: 139.5 kB / 0.7659 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002846/0.1628, allocations: 159.4 kB / 0.7661 GB, free: 10.63 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.689e-05/0.1629, allocations: 20 kB / 0.7661 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002979/0.1632, allocations: 175.5 kB / 0.7663 GB, free: 10.44 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 9.699e-05/0.1632, allocations: 83.8 kB / 0.7663 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001354/0.1634, allocations: 115.4 kB / 0.7664 GB, free: 10.24 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0004389/0.1638, allocations: 370.6 kB / 0.7668 GB, free: 9.879 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.1638, allocations: 0 / 0.7668 GB, free: 9.879 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.233e-06/0.1638, allocations: 0 / 0.7668 GB, free: 9.879 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.851e-06/0.1638, allocations: 0 / 0.7668 GB, free: 9.879 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0008366/0.1647, allocations: 0.5454 MB / 0.7673 GB, free: 9.285 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.565e-05/0.1647, allocations: 12.03 kB / 0.7673 GB, free: 9.273 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.228e-05/0.1648, allocations: 58.72 kB / 0.7674 GB, free: 9.207 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000534/0.1653, allocations: 76.73 kB / 0.7675 GB, free: 9.133 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003398/0.1656, allocations: 267.1 kB / 0.7677 GB, free: 8.836 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.822e-05/0.1657, allocations: 16.81 kB / 0.7677 GB, free: 8.82 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.363e-05/0.1657, allocations: 16.38 kB / 0.7678 GB, free: 8.805 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004934/0.1662, allocations: 316.5 kB / 0.7681 GB, free: 8.473 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/0.1662, allocations: 7.875 kB / 0.7681 GB, free: 8.465 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.95e-05/0.1662, allocations: 12 kB / 0.7681 GB, free: 8.453 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.067e-05/0.1663, allocations: 16.42 kB / 0.7681 GB, free: 8.438 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003841/0.1666, allocations: 209.6 kB / 0.7683 GB, free: 8.234 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001593/0.1682, allocations: 1.494 MB / 0.7698 GB, free: 6.574 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000408/0.1686, allocations: 191.7 kB / 0.7699 GB, free: 6.359 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.18e-05/0.1687, allocations: 48.77 kB / 0.77 GB, free: 6.309 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.009e-05/0.1687, allocations: 0 / 0.77 GB, free: 6.309 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.095e-05/0.1688, allocations: 38.56 kB / 0.77 GB, free: 6.262 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=8): time 8.52e-07/0.1688, allocations: 0 / 0.77 GB, free: 6.262 MB / 0.5762 GB Notification: Performance of matching and sorting (n=8): time 0.0005417/0.1693, allocations: 251.5 kB / 0.7703 GB, free: 5.988 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.997e-05/0.1694, allocations: 59.34 kB / 0.7703 GB, free: 5.918 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002049/0.1696, allocations: 207.7 kB / 0.7705 GB, free: 5.703 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.19e-05/0.1696, allocations: 37.7 kB / 0.7706 GB, free: 5.66 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001182/0.1697, allocations: 180 kB / 0.7707 GB, free: 5.48 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.522e-05/0.1697, allocations: 31.73 kB / 0.7708 GB, free: 5.449 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.104e-05/0.1698, allocations: 37.7 kB / 0.7708 GB, free: 5.406 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001468/0.1699, allocations: 322.8 kB / 0.7711 GB, free: 5.082 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.85e-05/0.17, allocations: 51.86 kB / 0.7711 GB, free: 5.031 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000146/0.1702, allocations: 113.8 kB / 0.7713 GB, free: 4.891 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002565/0.1704, allocations: 172.4 kB / 0.7714 GB, free: 4.691 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.1704, allocations: 0 / 0.7714 GB, free: 4.691 MB / 0.5762 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003694/0.1708, allocations: 210.1 kB / 0.7716 GB, free: 4.477 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.1708, allocations: 8 kB / 0.7716 GB, free: 4.469 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.1708, allocations: 4 kB / 0.7716 GB, free: 4.465 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001475/0.171, allocations: 32.88 kB / 0.7717 GB, free: 4.43 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001263/0.1711, allocations: 35.91 kB / 0.7717 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001134/0.1722, allocations: 1.427 MB / 0.7731 GB, free: 2.832 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001357/0.1724, allocations: 23.88 kB / 0.7731 GB, free: 2.809 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.358e-05/0.1724, allocations: 8 kB / 0.7731 GB, free: 2.801 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001381/0.1725, allocations: 149.7 kB / 0.7733 GB, free: 2.645 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.119e-05/0.1726, allocations: 15.91 kB / 0.7733 GB, free: 2.629 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.425e-05/0.1726, allocations: 21.39 kB / 0.7733 GB, free: 2.609 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-06/0.1726, allocations: 0 / 0.7733 GB, free: 2.609 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.414e-06/0.1726, allocations: 64 / 0.7733 GB, free: 2.609 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.1726, allocations: 4 kB / 0.7733 GB, free: 2.605 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006209/0.1732, allocations: 495.1 kB / 0.7738 GB, free: 2.062 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/0.1732, allocations: 0 / 0.7738 GB, free: 2.062 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.322e-05/0.1733, allocations: 11.98 kB / 0.7738 GB, free: 2.051 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.666e-05/0.1734, allocations: 24.84 kB / 0.7738 GB, free: 2.023 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.815e-06/0.1734, allocations: 0 / 0.7738 GB, free: 2.023 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00105/0.1744, allocations: 1.433 MB / 0.7752 GB, free: 456 kB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.1744, allocations: 0 / 0.7752 GB, free: 456 kB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002937/0.1747, allocations: 240.6 kB / 0.7754 GB, free: 196 kB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.702e-05/0.1748, allocations: 105 kB / 0.7755 GB, free: 72 kB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.746e-05/0.1748, allocations: 0 / 0.7755 GB, free: 72 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001174/0.1749, allocations: 4 kB / 0.7755 GB, free: 68 kB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.785e-05/0.175, allocations: 20.03 kB / 0.7756 GB, free: 48 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.012e-06/0.175, allocations: 0 / 0.7756 GB, free: 48 kB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001433/0.1751, allocations: 149.5 kB / 0.7757 GB, free: 15.9 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.1751, allocations: 0 / 0.7757 GB, free: 15.9 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002963/0.1754, allocations: 55.89 kB / 0.7758 GB, free: 15.85 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005724/0.176, allocations: 0.7717 MB / 0.7765 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0003967/0.1764, allocations: 218.5 kB / 0.7767 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.1764, allocations: 3.938 kB / 0.7767 GB, free: 14.81 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002115/0.1766, allocations: 171.2 kB / 0.7769 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003247/0.1769, allocations: 37.81 kB / 0.7769 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002342/0.1793, allocations: 2.154 MB / 0.779 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003659/0.1796, allocations: 0.7515 MB / 0.7798 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 8.616e-05/0.1797, allocations: 29.53 kB / 0.7798 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.199e-05/0.1798, allocations: 55.41 kB / 0.7798 GB, free: 11.44 MB / 0.5919 GB Notification: Performance of SimCode: time 3.41e-07/0.1798, allocations: 4 kB / 0.7798 GB, free: 11.44 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02946/0.2093, allocations: 4.024 MB / 0.7838 GB, free: 7.535 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.869/9.078, allocations: 8.312 kB / 0.7838 GB, free: 7.531 MB / 0.5919 GB " [Timeout remaining time 651] (rm -f IDEAS_dev_IDEAS.Electrical.DC.Sources.Examples.VoltageSource.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.DC.Sources.Examples.VoltageSource.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.DC.Sources.Examples.VoltageSource.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.DC.Sources.Examples.VoltageSource.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Electrical_DC_Sources_Examples_VoltageSource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Electrical_DC_Sources_Examples_VoltageSource.fmu > IDEAS_dev_IDEAS.Electrical.DC.Sources.Examples.VoltageSource.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.463081748006516]