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.004694/0.004694, allocations: 100.5 kB / 15.87 MB, free: 6.32 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.001144/0.001144, allocations: 194.6 kB / 16.79 MB, free: 6.246 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.177/1.177, allocations: 222.9 MB / 240.5 MB, free: 13.83 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.654/0.654, allocations: 115.3 MB / 405.9 MB, free: 6.457 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001226/0.001226, allocations: 63.91 kB / 493 MB, free: 0.7656 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2927/0.2939, allocations: 76.16 MB / 0.5558 GB, free: 35.7 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Sources.Examples.VoltageSource): time 0.003621/0.2976, allocations: 3.245 MB / 0.559 GB, free: 33.52 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001488/0.2991, allocations: 1.365 MB / 0.5603 GB, free: 32.59 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.973e-05/0.2992, allocations: 8.25 kB / 0.5603 GB, free: 32.59 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007381/0.2999, allocations: 314.6 kB / 0.5606 GB, free: 32.41 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002273/0.3002, allocations: 145.8 kB / 0.5608 GB, free: 32.32 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002399/0.3004, allocations: 131.2 kB / 0.5609 GB, free: 32.26 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000357/0.3008, allocations: 457.5 kB / 0.5613 GB, free: 32.11 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002612/0.3011, allocations: 172.7 kB / 0.5615 GB, free: 32.05 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001412/0.3012, allocations: 122.2 kB / 0.5616 GB, free: 32 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002308/0.3015, allocations: 157.3 kB / 0.5618 GB, free: 31.94 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.252e-05/0.3015, allocations: 14.12 kB / 0.5618 GB, free: 31.94 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002839/0.3018, allocations: 213.3 kB / 0.562 GB, free: 31.86 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.078e-05/0.3019, allocations: 75.67 kB / 0.562 GB, free: 31.84 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001038/0.302, allocations: 113.6 kB / 0.5622 GB, free: 31.77 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003618/0.3023, allocations: 362 kB / 0.5625 GB, free: 31.65 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.3024, allocations: 0 / 0.5625 GB, free: 31.65 MB / 446.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.3024, allocations: 0 / 0.5625 GB, free: 31.65 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.939e-06/0.3024, allocations: 1.375 kB / 0.5625 GB, free: 31.65 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.0006532/0.303, allocations: 0.5359 MB / 0.563 GB, free: 31.18 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.198e-05/0.3031, allocations: 13.78 kB / 0.563 GB, free: 31.18 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.011e-05/0.3031, allocations: 60.56 kB / 0.5631 GB, free: 31.12 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005289/0.3037, allocations: 82.91 kB / 0.5632 GB, free: 31.11 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002057/0.3039, allocations: 254.9 kB / 0.5634 GB, free: 30.87 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.455e-05/0.3039, allocations: 15.47 kB / 0.5634 GB, free: 30.86 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.761e-05/0.3039, allocations: 21.61 kB / 0.5635 GB, free: 30.85 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004218/0.3044, allocations: 314.2 kB / 0.5638 GB, free: 30.68 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.3044, allocations: 1.188 kB / 0.5638 GB, free: 30.68 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.42e-05/0.3044, allocations: 10.66 kB / 0.5638 GB, free: 30.68 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.197e-05/0.3044, allocations: 18.25 kB / 0.5638 GB, free: 30.68 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003455/0.3048, allocations: 217 kB / 0.564 GB, free: 30.6 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00115/0.306, allocations: 1.503 MB / 0.5655 GB, free: 29.26 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003455/0.3063, allocations: 208.8 kB / 0.5657 GB, free: 29.11 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.217e-05/0.3064, allocations: 44.3 kB / 0.5657 GB, free: 29.09 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.198e-05/0.3064, allocations: 1.938 kB / 0.5657 GB, free: 29.09 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.294e-05/0.3064, allocations: 33.17 kB / 0.5657 GB, free: 29.05 MB / 446.1 MB Notification: Performance of pre-optimization done (n=8): time 1.162e-06/0.3064, allocations: 1.406 kB / 0.5657 GB, free: 29.05 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004698/0.3069, allocations: 267 kB / 0.566 GB, free: 28.87 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.652e-05/0.3069, allocations: 53.25 kB / 0.566 GB, free: 28.8 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001552/0.3071, allocations: 208.8 kB / 0.5662 GB, free: 28.67 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.048e-05/0.3071, allocations: 30.73 kB / 0.5663 GB, free: 28.63 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.172e-05/0.3072, allocations: 172.8 kB / 0.5664 GB, free: 28.48 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.698e-05/0.3072, allocations: 30.77 kB / 0.5665 GB, free: 28.46 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.907e-05/0.3073, allocations: 37.67 kB / 0.5665 GB, free: 28.43 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.006e-05/0.3073, allocations: 324.8 kB / 0.5668 GB, free: 28.12 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.909e-05/0.3074, allocations: 47.98 kB / 0.5669 GB, free: 28.1 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000102/0.3075, allocations: 106.7 kB / 0.567 GB, free: 28.01 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001845/0.3077, allocations: 173.7 kB / 0.5671 GB, free: 27.88 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.3077, allocations: 1.156 kB / 0.5671 GB, free: 27.88 MB / 446.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003174/0.308, allocations: 211.1 kB / 0.5673 GB, free: 27.78 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.3081, allocations: 8.641 kB / 0.5673 GB, free: 27.78 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.3081, allocations: 1.219 kB / 0.5673 GB, free: 27.78 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001347/0.3082, allocations: 33.47 kB / 0.5674 GB, free: 27.76 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001235/0.3083, allocations: 32.95 kB / 0.5674 GB, free: 27.76 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006664/0.309, allocations: 1.324 MB / 0.5687 GB, free: 26.44 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001294/0.3092, allocations: 19.45 kB / 0.5687 GB, free: 26.43 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.469e-05/0.3092, allocations: 12.05 kB / 0.5687 GB, free: 26.43 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 8.966e-05/0.3093, allocations: 144.6 kB / 0.5689 GB, free: 26.3 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.881e-05/0.3093, allocations: 26.34 kB / 0.5689 GB, free: 26.29 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.958e-05/0.3094, allocations: 20.2 kB / 0.5689 GB, free: 26.27 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.3094, allocations: 1.062 kB / 0.5689 GB, free: 26.27 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.525e-06/0.3094, allocations: 0 / 0.5689 GB, free: 26.27 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.3094, allocations: 3.188 kB / 0.5689 GB, free: 26.27 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004756/0.3099, allocations: 495.1 kB / 0.5694 GB, free: 25.88 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.3099, allocations: 1.219 kB / 0.5694 GB, free: 25.88 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.319e-05/0.3099, allocations: 10.8 kB / 0.5694 GB, free: 25.88 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.079e-05/0.31, allocations: 29.84 kB / 0.5694 GB, free: 25.87 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.696e-06/0.31, allocations: 5.875 kB / 0.5694 GB, free: 25.86 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005656/0.3106, allocations: 1.322 MB / 0.5707 GB, free: 24.55 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.3106, allocations: 1.219 kB / 0.5707 GB, free: 24.55 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002293/0.3108, allocations: 231.1 kB / 0.5709 GB, free: 24.38 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.987e-05/0.3109, allocations: 107 kB / 0.571 GB, free: 24.26 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.154e-05/0.3109, allocations: 6.484 kB / 0.571 GB, free: 24.26 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001195/0.3111, allocations: 7.359 kB / 0.571 GB, free: 24.26 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.027e-05/0.3111, allocations: 5.375 kB / 0.5711 GB, free: 24.26 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.963e-06/0.3111, allocations: 3.281 kB / 0.5711 GB, free: 24.26 MB / 446.1 MB Notification: Performance of sorting global known variables: time 9.438e-05/0.3112, allocations: 148.6 kB / 0.5712 GB, free: 24.16 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3112, allocations: 0 / 0.5712 GB, free: 24.16 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002941/0.3115, allocations: 55.31 kB / 0.5713 GB, free: 24.15 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.0003547/0.3119, allocations: 0.7778 MB / 0.572 GB, free: 23.43 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003307/0.3122, allocations: 228.7 kB / 0.5722 GB, free: 23.29 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.3122, allocations: 1.188 kB / 0.5722 GB, free: 23.29 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001622/0.3124, allocations: 162.1 kB / 0.5724 GB, free: 23.16 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003407/0.3127, allocations: 42.12 kB / 0.5724 GB, free: 23.15 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001771/0.3145, allocations: 2.225 MB / 0.5746 GB, free: 21.41 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001618/0.3147, allocations: 0.7545 MB / 0.5753 GB, free: 20.7 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000101/0.3148, allocations: 23.39 kB / 0.5754 GB, free: 20.7 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.764e-05/0.3149, allocations: 60.86 kB / 0.5754 GB, free: 20.66 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3149, allocations: 4 kB / 0.5754 GB, free: 20.65 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01344/0.3283, allocations: 3.728 MB / 0.5791 GB, free: 20.29 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001353/0.3285, allocations: 231.2 kB / 0.5793 GB, free: 20.02 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.653/1.981, allocations: 0 / 0.5793 GB, free: 20.02 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)