Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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) 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.DC.Sources.Examples.VoltageSource,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_DC_Sources_Examples_VoltageSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.DC.Sources.Examples.VoltageSource,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_DC_Sources_Examples_VoltageSource",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.001049/0.00105, allocations: 104.3 kB / 16.27 MB, free: 6.41 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.001182/0.001182, allocations: 184.6 kB / 17.2 MB, free: 5.953 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.323/1.323, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7248/0.7248, allocations: 122.8 MB / 413.9 MB, free: 15.83 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001315/0.001315, allocations: 55.91 kB / 0.4912 GB, free: 7.367 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3291/0.3304, allocations: 77.93 MB / 0.5673 GB, free: 32.71 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Sources.Examples.VoltageSource): time 0.00427/0.3348, allocations: 3.197 MB / 0.5704 GB, free: 30.56 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001892/0.3367, allocations: 1.366 MB / 0.5717 GB, free: 29.62 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001371/0.3368, allocations: 4.406 kB / 0.5717 GB, free: 29.62 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009149/0.3378, allocations: 344.9 kB / 0.5721 GB, free: 29.41 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003087/0.3381, allocations: 146.3 kB / 0.5722 GB, free: 29.33 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003378/0.3384, allocations: 150.3 kB / 0.5724 GB, free: 29.26 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003183/0.3388, allocations: 326.7 kB / 0.5727 GB, free: 29.12 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004055/0.3392, allocations: 263 kB / 0.5729 GB, free: 29.01 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001656/0.3393, allocations: 136.2 kB / 0.573 GB, free: 28.95 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002601/0.3396, allocations: 145.2 kB / 0.5732 GB, free: 28.89 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.993e-05/0.3397, allocations: 19.88 kB / 0.5732 GB, free: 28.89 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003411/0.34, allocations: 170.7 kB / 0.5734 GB, free: 28.83 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.68e-05/0.3401, allocations: 83.27 kB / 0.5734 GB, free: 28.8 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001201/0.3402, allocations: 124.6 kB / 0.5736 GB, free: 28.73 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004507/0.3407, allocations: 345.8 kB / 0.5739 GB, free: 28.61 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.3407, allocations: 2.172 kB / 0.5739 GB, free: 28.61 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.485e-06/0.3407, allocations: 0.875 kB / 0.5739 GB, free: 28.61 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.412e-06/0.3407, allocations: 3.938 kB / 0.5739 GB, free: 28.61 MB / 446.1 MB 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.0007532/0.3415, allocations: 0.5436 MB / 0.5744 GB, free: 28.13 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.608e-05/0.3415, allocations: 9.375 kB / 0.5744 GB, free: 28.13 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.458e-05/0.3416, allocations: 57.33 kB / 0.5745 GB, free: 28.08 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005596/0.3422, allocations: 82.94 kB / 0.5746 GB, free: 28.07 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002367/0.3424, allocations: 245.3 kB / 0.5748 GB, free: 27.83 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.535e-05/0.3424, allocations: 13 kB / 0.5748 GB, free: 27.83 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.107e-05/0.3425, allocations: 22.38 kB / 0.5748 GB, free: 27.82 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004512/0.3429, allocations: 321 kB / 0.5751 GB, free: 27.65 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.3429, allocations: 5.266 kB / 0.5752 GB, free: 27.64 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.604e-05/0.343, allocations: 8.438 kB / 0.5752 GB, free: 27.64 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.381e-05/0.343, allocations: 20.56 kB / 0.5752 GB, free: 27.64 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003553/0.3434, allocations: 215.4 kB / 0.5754 GB, free: 27.57 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001254/0.3446, allocations: 1.497 MB / 0.5768 GB, free: 26.23 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003682/0.345, allocations: 199.1 kB / 0.577 GB, free: 26.08 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.577e-05/0.3451, allocations: 47.92 kB / 0.5771 GB, free: 26.06 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.228e-05/0.3451, allocations: 3.062 kB / 0.5771 GB, free: 26.06 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.491e-05/0.3452, allocations: 36.53 kB / 0.5771 GB, free: 26.02 MB / 446.1 MB Notification: Performance of pre-optimization done (n=8): time 2.174e-06/0.3452, allocations: 1.844 kB / 0.5771 GB, free: 26.02 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004883/0.3457, allocations: 258.7 kB / 0.5774 GB, free: 25.84 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.351e-05/0.3457, allocations: 55.22 kB / 0.5774 GB, free: 25.78 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001632/0.3459, allocations: 212.1 kB / 0.5776 GB, free: 25.64 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.139e-05/0.3459, allocations: 25.7 kB / 0.5776 GB, free: 25.61 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.557e-05/0.346, allocations: 178.2 kB / 0.5778 GB, free: 25.45 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.319e-05/0.346, allocations: 31.36 kB / 0.5778 GB, free: 25.43 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.377e-05/0.3461, allocations: 35.8 kB / 0.5779 GB, free: 25.4 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.63e-05/0.3461, allocations: 328.5 kB / 0.5782 GB, free: 25.08 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.352e-05/0.3462, allocations: 44.56 kB / 0.5782 GB, free: 25.07 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000108/0.3463, allocations: 111.6 kB / 0.5783 GB, free: 24.97 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002036/0.3465, allocations: 167.6 kB / 0.5785 GB, free: 24.85 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.3466, allocations: 0 / 0.5785 GB, free: 24.85 MB / 446.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003446/0.3469, allocations: 215.5 kB / 0.5787 GB, free: 24.75 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.3469, allocations: 6.109 kB / 0.5787 GB, free: 24.75 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.3469, allocations: 6.688 kB / 0.5787 GB, free: 24.74 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001583/0.3471, allocations: 33.19 kB / 0.5788 GB, free: 24.73 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000127/0.3472, allocations: 36.97 kB / 0.5788 GB, free: 24.72 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007713/0.348, allocations: 1.424 MB / 0.5802 GB, free: 23.31 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001319/0.3482, allocations: 18.83 kB / 0.5802 GB, free: 23.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.373e-05/0.3482, allocations: 11.69 kB / 0.5802 GB, free: 23.29 MB / 446.1 MB 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.0001077/0.3483, allocations: 156.5 kB / 0.5804 GB, free: 23.15 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.876e-05/0.3483, allocations: 15.47 kB / 0.5804 GB, free: 23.15 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.767e-05/0.3484, allocations: 20.47 kB / 0.5804 GB, free: 23.14 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.3484, allocations: 2.078 kB / 0.5804 GB, free: 23.14 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.3484, allocations: 0 / 0.5804 GB, free: 23.14 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.3484, allocations: 2.016 kB / 0.5804 GB, free: 23.14 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005225/0.3489, allocations: 490.1 kB / 0.5809 GB, free: 22.75 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.3489, allocations: 0.5 kB / 0.5809 GB, free: 22.75 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.321e-05/0.349, allocations: 11.52 kB / 0.5809 GB, free: 22.75 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.616e-05/0.3491, allocations: 26.81 kB / 0.5809 GB, free: 22.74 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.959e-06/0.3491, allocations: 0.7031 kB / 0.5809 GB, free: 22.74 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006465/0.3498, allocations: 1.431 MB / 0.5823 GB, free: 21.32 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.3498, allocations: 5.609 kB / 0.5823 GB, free: 21.31 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002333/0.35, allocations: 239.1 kB / 0.5825 GB, free: 21.13 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.241e-05/0.3501, allocations: 100 kB / 0.5826 GB, free: 21.03 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.251e-05/0.3501, allocations: 6.125 kB / 0.5826 GB, free: 21.02 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001191/0.3502, allocations: 6.266 kB / 0.5826 GB, free: 21.02 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.896e-05/0.3503, allocations: 6.609 kB / 0.5826 GB, free: 21.02 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.476e-06/0.3503, allocations: 6.734 kB / 0.5827 GB, free: 21.02 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001033/0.3504, allocations: 154.6 kB / 0.5828 GB, free: 20.92 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3504, allocations: 0 / 0.5828 GB, free: 20.92 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003283/0.3507, allocations: 60.55 kB / 0.5829 GB, free: 20.9 MB / 446.1 MB 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.0004134/0.3512, allocations: 0.7761 MB / 0.5836 GB, free: 20.19 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003848/0.3516, allocations: 229.8 kB / 0.5838 GB, free: 20.04 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.3516, allocations: 1.344 kB / 0.5838 GB, free: 20.04 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001857/0.3518, allocations: 162.1 kB / 0.584 GB, free: 19.92 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003809/0.3522, allocations: 36.33 kB / 0.584 GB, free: 19.91 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002071/0.3542, allocations: 2.148 MB / 0.5861 GB, free: 18.23 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001779/0.3544, allocations: 0.7544 MB / 0.5869 GB, free: 17.52 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001093/0.3545, allocations: 27.27 kB / 0.5869 GB, free: 17.52 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.183e-05/0.3546, allocations: 56.52 kB / 0.5869 GB, free: 17.48 MB / 446.1 MB Notification: Performance of SimCode: time 2.01e-07/0.3546, allocations: 0 / 0.5869 GB, free: 17.48 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02207/0.3767, allocations: 3.929 MB / 0.5908 GB, free: 15.63 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.445/8.822, allocations: 7.891 kB / 0.5908 GB, free: 15.63 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Electrical.DC.Sources.Examples.VoltageSource.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.DC.Sources.Examples.VoltageSource.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.DC.Sources.Examples.VoltageSource.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.DC.Sources.Examples.VoltageSource.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_DC_Sources_Examples_VoltageSource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_DC_Sources_Examples_VoltageSource.fmu > IBPSA_latest_IBPSA.Electrical.DC.Sources.Examples.VoltageSource.pipe 2>&1)