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.0009577/0.0009577, allocations: 76.55 kB / 19.93 MB, free: 4.633 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.0009994/0.0009994, allocations: 177.9 kB / 23.21 MB, free: 1.352 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.8934/0.8934, allocations: 177.1 MB / 203.5 MB, free: 5.746 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.5345/0.5345, allocations: 114 MB / 373.9 MB, free: 8.715 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.422e-06/1.422e-06, allocations: 0 / 0.5542 GB, free: 2.773 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.536e-05/1.678e-05, allocations: 2.281 kB / 0.5542 GB, free: 2.77 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Sources.Examples.VoltageSource): time 0.003127/0.003143, allocations: 3.156 MB / 0.5573 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.001353/0.004496, allocations: 1.375 MB / 0.5586 GB, free: 14.22 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.701e-05/0.004593, allocations: 7.938 kB / 0.5586 GB, free: 14.21 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0005747/0.005168, allocations: 342.6 kB / 0.5589 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0002771/0.005445, allocations: 151 kB / 0.5591 GB, free: 13.73 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002308/0.005676, allocations: 163.5 kB / 0.5592 GB, free: 13.57 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0002504/0.005926, allocations: 346.7 kB / 0.5596 GB, free: 13.23 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002919/0.006218, allocations: 204 kB / 0.5598 GB, free: 13.03 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002166/0.006435, allocations: 195.5 kB / 0.5599 GB, free: 12.84 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001783/0.006613, allocations: 135.6 kB / 0.5601 GB, free: 12.7 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 2.545e-05/0.006638, allocations: 23.94 kB / 0.5601 GB, free: 12.68 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001568/0.006795, allocations: 151.6 kB / 0.5602 GB, free: 12.53 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 6.842e-05/0.006864, allocations: 91.72 kB / 0.5603 GB, free: 12.44 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 6.438e-05/0.006928, allocations: 87.81 kB / 0.5604 GB, free: 12.36 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0002979/0.007226, allocations: 370.8 kB / 0.5608 GB, free: 11.99 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.414e-06/0.007228, allocations: 4 kB / 0.5608 GB, free: 11.99 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.362e-06/0.00723, allocations: 0 / 0.5608 GB, free: 11.99 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.698e-06/0.007234, allocations: 0 / 0.5608 GB, free: 11.99 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.0005831/0.007818, allocations: 494.7 kB / 0.5612 GB, free: 11.48 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.527e-05/0.007853, allocations: 8.625 kB / 0.5612 GB, free: 11.47 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.236e-05/0.007895, allocations: 54.73 kB / 0.5613 GB, free: 11.41 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000335/0.00823, allocations: 92.7 kB / 0.5614 GB, free: 11.32 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002205/0.008451, allocations: 194 kB / 0.5616 GB, free: 11.1 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.616e-05/0.008467, allocations: 24.75 kB / 0.5616 GB, free: 11.07 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.131e-05/0.008488, allocations: 20.38 kB / 0.5616 GB, free: 11.05 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004805/0.008969, allocations: 398.8 kB / 0.562 GB, free: 10.62 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.008978, allocations: 192 / 0.562 GB, free: 10.62 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.934e-05/0.008997, allocations: 12.11 kB / 0.562 GB, free: 10.61 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.864e-05/0.009026, allocations: 24.44 kB / 0.562 GB, free: 10.59 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000234/0.00926, allocations: 213.8 kB / 0.5622 GB, free: 10.38 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008554/0.01012, allocations: 1.054 MB / 0.5633 GB, free: 9.254 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002632/0.01038, allocations: 126.5 kB / 0.5634 GB, free: 9.121 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.241e-05/0.01043, allocations: 36.84 kB / 0.5634 GB, free: 9.082 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.253e-05/0.01044, allocations: 3.984 kB / 0.5634 GB, free: 9.078 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.172e-05/0.01047, allocations: 42.5 kB / 0.5635 GB, free: 9.027 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=8): time 1.112e-06/0.01047, allocations: 0 / 0.5635 GB, free: 9.027 MB / 0.5261 GB Notification: Performance of matching and sorting (n=8): time 0.0003377/0.0108, allocations: 182.7 kB / 0.5636 GB, free: 8.84 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.607e-05/0.01083, allocations: 55.41 kB / 0.5637 GB, free: 8.773 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001326/0.01096, allocations: 207 kB / 0.5639 GB, free: 8.562 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.259e-05/0.01098, allocations: 29.7 kB / 0.5639 GB, free: 8.527 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 7.566e-05/0.01105, allocations: 179.9 kB / 0.5641 GB, free: 8.348 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.563e-05/0.01107, allocations: 31.69 kB / 0.5641 GB, free: 8.316 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.094e-05/0.01111, allocations: 37.66 kB / 0.5642 GB, free: 8.273 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.019e-05/0.01119, allocations: 330.8 kB / 0.5645 GB, free: 7.941 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.555e-05/0.01124, allocations: 43.97 kB / 0.5645 GB, free: 7.898 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.623e-05/0.01132, allocations: 108.6 kB / 0.5646 GB, free: 7.762 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001391/0.01146, allocations: 172.4 kB / 0.5648 GB, free: 7.562 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.01146, allocations: 0 / 0.5648 GB, free: 7.562 MB / 0.5261 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002121/0.01167, allocations: 214.1 kB / 0.565 GB, free: 7.344 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.01169, allocations: 11.98 kB / 0.565 GB, free: 7.332 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.01169, allocations: 4 kB / 0.565 GB, free: 7.328 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001193/0.01181, allocations: 32.72 kB / 0.565 GB, free: 7.293 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.967e-05/0.01188, allocations: 28.27 kB / 0.5651 GB, free: 7.266 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006865/0.01257, allocations: 1.322 MB / 0.5663 GB, free: 5.824 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.729e-05/0.01264, allocations: 19.89 kB / 0.5664 GB, free: 5.805 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.468e-06/0.01265, allocations: 8 kB / 0.5664 GB, free: 5.797 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.444e-05/0.01274, allocations: 149.7 kB / 0.5665 GB, free: 5.641 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.414e-05/0.01276, allocations: 31.94 kB / 0.5665 GB, free: 5.609 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.7e-05/0.01278, allocations: 17.47 kB / 0.5666 GB, free: 5.594 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.12e-07/0.01278, allocations: 0 / 0.5666 GB, free: 5.594 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.813e-06/0.01278, allocations: 0 / 0.5666 GB, free: 5.594 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.01279, allocations: 0 / 0.5666 GB, free: 5.594 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003694/0.01316, allocations: 442.3 kB / 0.567 GB, free: 5.109 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.594e-06/0.01316, allocations: 4.062 kB / 0.567 GB, free: 5.105 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.318e-05/0.01319, allocations: 19.98 kB / 0.567 GB, free: 5.086 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.916e-05/0.01324, allocations: 20.84 kB / 0.567 GB, free: 5.062 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.494e-06/0.01325, allocations: 4 kB / 0.567 GB, free: 5.059 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005473/0.0138, allocations: 1.319 MB / 0.5683 GB, free: 3.625 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.0138, allocations: 0 / 0.5683 GB, free: 3.625 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001664/0.01396, allocations: 236.2 kB / 0.5685 GB, free: 3.375 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.247e-05/0.014, allocations: 23.89 kB / 0.5686 GB, free: 3.352 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.113e-05/0.01401, allocations: 12.16 kB / 0.5686 GB, free: 3.34 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.92e-05/0.01407, allocations: 4 kB / 0.5686 GB, free: 3.336 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.278e-05/0.0141, allocations: 3.984 kB / 0.5686 GB, free: 3.332 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.679e-06/0.0141, allocations: 4 kB / 0.5686 GB, free: 3.328 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0002176/0.01432, allocations: 156.2 kB / 0.5687 GB, free: 3.176 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4e-08/0.01432, allocations: 0 / 0.5687 GB, free: 3.176 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002017/0.01452, allocations: 55.89 kB / 0.5688 GB, free: 3.121 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.0003384/0.01486, allocations: 0.7872 MB / 0.5696 GB, free: 2.301 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0002816/0.01514, allocations: 222.5 kB / 0.5698 GB, free: 2.07 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.01514, allocations: 0 / 0.5698 GB, free: 2.07 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 9.924e-05/0.01524, allocations: 162.7 kB / 0.5699 GB, free: 1.898 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002481/0.01549, allocations: 44.83 kB / 0.57 GB, free: 1.863 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001478/0.01697, allocations: 2.145 MB / 0.5721 GB, free: 15.57 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.684e-05/0.01707, allocations: 148.2 kB / 0.5722 GB, free: 15.41 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 7.338e-05/0.01714, allocations: 25.47 kB / 0.5722 GB, free: 15.39 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.382e-05/0.0172, allocations: 60.42 kB / 0.5723 GB, free: 15.33 MB / 0.5417 GB Notification: Performance of SimCode: time 4.61e-07/0.0172, allocations: 0 / 0.5723 GB, free: 15.33 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01906/0.03627, allocations: 4.833 MB / 0.577 GB, free: 10.7 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.136/7.173, allocations: 4.062 kB / 0.577 GB, free: 10.69 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_DC_Sources_Examples_VoltageSource_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.585104424506426] Failed to read output from testmodel.py, exit status != 0: 7.2577311201021075 7.266760775 7.257866083 Calling exit ...