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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001023/0.001023, allocations: 76.5 kB / 19.93 MB, free: 4.629 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008838/0.0008838, allocations: 169.9 kB / 23.2 MB, free: 1.359 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8768/0.8768, allocations: 177.1 MB / 203.5 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.5709/0.5709, allocations: 114 MB / 373.9 MB, free: 8.738 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.492e-06/1.492e-06, allocations: 3.938 kB / 0.5542 GB, free: 2.824 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.55e-05/1.699e-05, allocations: 7.031 kB / 0.5542 GB, free: 2.82 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Sources.Examples.VoltageSource): time 0.00353/0.003547, allocations: 3.156 MB / 0.5573 GB, free: 15.65 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.00168/0.005227, allocations: 1.371 MB / 0.5586 GB, free: 14.27 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001162/0.005344, allocations: 7.938 kB / 0.5586 GB, free: 14.27 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0006484/0.005992, allocations: 338.6 kB / 0.5589 GB, free: 13.93 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0002967/0.006289, allocations: 159 kB / 0.5591 GB, free: 13.78 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.000319/0.006608, allocations: 163.4 kB / 0.5592 GB, free: 13.62 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0003854/0.006993, allocations: 342.7 kB / 0.5596 GB, free: 13.28 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004231/0.007416, allocations: 200 kB / 0.5597 GB, free: 13.08 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002955/0.007712, allocations: 203.4 kB / 0.5599 GB, free: 12.88 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002171/0.007929, allocations: 131.6 kB / 0.5601 GB, free: 12.75 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 2.646e-05/0.007955, allocations: 20 kB / 0.5601 GB, free: 12.73 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000192/0.008147, allocations: 159.6 kB / 0.5602 GB, free: 12.58 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 7.16e-05/0.008219, allocations: 87.73 kB / 0.5603 GB, free: 12.49 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 7.266e-05/0.008291, allocations: 87.81 kB / 0.5604 GB, free: 12.41 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0003192/0.008611, allocations: 370.8 kB / 0.5608 GB, free: 12.04 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.425e-06/0.008613, allocations: 0 / 0.5608 GB, free: 12.04 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.433e-06/0.008614, allocations: 4 kB / 0.5608 GB, free: 12.04 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.22e-06/0.00862, allocations: 0 / 0.5608 GB, free: 12.04 MB / 0.5261 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.0006174/0.009237, allocations: 489.3 kB / 0.5612 GB, free: 11.53 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.009277, allocations: 12.61 kB / 0.5612 GB, free: 11.52 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.94e-05/0.009326, allocations: 54.73 kB / 0.5613 GB, free: 11.46 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003488/0.009675, allocations: 84.72 kB / 0.5614 GB, free: 11.38 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002351/0.00991, allocations: 206 kB / 0.5616 GB, free: 11.14 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.71e-05/0.009927, allocations: 16.88 kB / 0.5616 GB, free: 11.12 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.054e-05/0.009948, allocations: 16.38 kB / 0.5616 GB, free: 11.11 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003684/0.01032, allocations: 402.7 kB / 0.562 GB, free: 10.68 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.01033, allocations: 4.188 kB / 0.562 GB, free: 10.68 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.753e-05/0.01034, allocations: 8.125 kB / 0.562 GB, free: 10.67 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.6e-05/0.01037, allocations: 20.48 kB / 0.562 GB, free: 10.64 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002341/0.0106, allocations: 217.8 kB / 0.5622 GB, free: 10.43 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009006/0.0115, allocations: 1.058 MB / 0.5633 GB, free: 9.305 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002972/0.0118, allocations: 126.4 kB / 0.5634 GB, free: 9.172 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.66e-05/0.01188, allocations: 44.83 kB / 0.5634 GB, free: 9.125 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.437e-05/0.01189, allocations: 0 / 0.5634 GB, free: 9.125 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.337e-05/0.01192, allocations: 38.56 kB / 0.5635 GB, free: 9.078 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=8): time 9.52e-07/0.01192, allocations: 0 / 0.5635 GB, free: 9.078 MB / 0.5261 GB Notification: Performance of matching and sorting (n=8): time 0.0003854/0.0123, allocations: 178.6 kB / 0.5636 GB, free: 8.895 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.016e-05/0.01233, allocations: 59.41 kB / 0.5637 GB, free: 8.824 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001445/0.01248, allocations: 207 kB / 0.5639 GB, free: 8.613 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.31e-05/0.01249, allocations: 25.7 kB / 0.5639 GB, free: 8.582 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 8.815e-05/0.01258, allocations: 187.9 kB / 0.5641 GB, free: 8.395 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.966e-05/0.0126, allocations: 31.73 kB / 0.5641 GB, free: 8.363 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.444e-05/0.01264, allocations: 37.66 kB / 0.5642 GB, free: 8.32 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.272e-05/0.01274, allocations: 330.8 kB / 0.5645 GB, free: 7.988 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.819e-05/0.01279, allocations: 43.97 kB / 0.5645 GB, free: 7.945 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.428e-05/0.01288, allocations: 104.6 kB / 0.5646 GB, free: 7.812 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001538/0.01303, allocations: 172.4 kB / 0.5648 GB, free: 7.613 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.01303, allocations: 0 / 0.5648 GB, free: 7.613 MB / 0.5261 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002687/0.0133, allocations: 214.1 kB / 0.565 GB, free: 7.395 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.01332, allocations: 11.94 kB / 0.565 GB, free: 7.383 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.01332, allocations: 0 / 0.565 GB, free: 7.383 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001288/0.01345, allocations: 28.84 kB / 0.565 GB, free: 7.352 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.497e-05/0.01353, allocations: 31.92 kB / 0.565 GB, free: 7.32 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007161/0.01424, allocations: 1.322 MB / 0.5663 GB, free: 5.879 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.136e-05/0.01432, allocations: 23.88 kB / 0.5664 GB, free: 5.855 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.007e-06/0.01432, allocations: 4 kB / 0.5664 GB, free: 5.852 MB / 0.5261 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 9.565e-05/0.01442, allocations: 150.4 kB / 0.5665 GB, free: 5.695 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.527e-05/0.01445, allocations: 27.73 kB / 0.5665 GB, free: 5.668 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.919e-05/0.01446, allocations: 29.59 kB / 0.5666 GB, free: 5.641 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.81e-07/0.01447, allocations: 0 / 0.5666 GB, free: 5.641 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.214e-06/0.01447, allocations: 0 / 0.5666 GB, free: 5.641 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.01447, allocations: 3.938 kB / 0.5666 GB, free: 5.637 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003753/0.01485, allocations: 442.4 kB / 0.567 GB, free: 5.152 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.01485, allocations: 4.062 kB / 0.567 GB, free: 5.148 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.079e-05/0.01488, allocations: 15.92 kB / 0.567 GB, free: 5.133 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.461e-05/0.01493, allocations: 24.84 kB / 0.567 GB, free: 5.105 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.087e-06/0.01494, allocations: 4 kB / 0.567 GB, free: 5.102 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006085/0.01555, allocations: 1.319 MB / 0.5683 GB, free: 3.668 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.01555, allocations: 0 / 0.5683 GB, free: 3.668 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001772/0.01573, allocations: 228.3 kB / 0.5685 GB, free: 3.426 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.469e-05/0.01576, allocations: 23.89 kB / 0.5686 GB, free: 3.402 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.101e-05/0.01577, allocations: 4 kB / 0.5686 GB, free: 3.398 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.366e-05/0.01584, allocations: 12.16 kB / 0.5686 GB, free: 3.387 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.239e-05/0.01587, allocations: 3.984 kB / 0.5686 GB, free: 3.383 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.823e-06/0.01588, allocations: 4 kB / 0.5686 GB, free: 3.379 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 9.22e-05/0.01597, allocations: 152.2 kB / 0.5687 GB, free: 3.23 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5e-08/0.01597, allocations: 0 / 0.5687 GB, free: 3.23 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.000216/0.01619, allocations: 59.83 kB / 0.5688 GB, free: 3.172 MB / 0.5261 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.0003913/0.01658, allocations: 0.7833 MB / 0.5696 GB, free: 2.355 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.000295/0.01687, allocations: 222.5 kB / 0.5698 GB, free: 2.125 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.342e-06/0.01687, allocations: 0 / 0.5698 GB, free: 2.125 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001076/0.01698, allocations: 162.6 kB / 0.5699 GB, free: 1.953 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002546/0.01724, allocations: 40.53 kB / 0.57 GB, free: 1.914 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001568/0.0188, allocations: 2.146 MB / 0.5721 GB, free: 15.62 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001022/0.01891, allocations: 148.2 kB / 0.5722 GB, free: 15.46 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 7.594e-05/0.01898, allocations: 33.45 kB / 0.5722 GB, free: 15.43 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.542e-05/0.01905, allocations: 60.47 kB / 0.5723 GB, free: 15.37 MB / 0.5417 GB Notification: Performance of SimCode: time 5.31e-07/0.01905, allocations: 0 / 0.5723 GB, free: 15.37 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01809/0.03714, allocations: 4.826 MB / 0.577 GB, free: 10.75 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.243/7.28, allocations: 4.062 kB / 0.577 GB, free: 10.75 MB / 0.5417 GB " [Timeout remaining time 653] (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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Electrical.DC.Sources.Examples.VoltageSource_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Electrical_DC_Sources_Examples_VoltageSource.fmu > IBPSA_latest_IBPSA.Electrical.DC.Sources.Examples.VoltageSource.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.819097515195608] Failed to read output from testmodel.py, exit status != 0: 7.366234382614493 7.375675882 7.365183157 Calling exit ...