Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.FirstSteps.Electrical1.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.001282/0.001282, allocations: 95.64 kB / 18.95 MB, free: 2.691 MB / 14.72 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 1.497/1.497, allocations: 230.6 MB / 252.7 MB, free: 14.27 MB / 206.1 MB " [Timeout remaining time 178] 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.001682/0.001682, allocations: 216.3 kB / 309.2 MB, free: 3.098 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo): time 0.05527/0.05527, allocations: 8.918 MB / 374.6 MB, free: 6.582 MB / 302.1 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/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 Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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(HanserModelica.FirstSteps.Electrical1,fileNamePrefix="HanserModelica_HanserModelica_FirstSteps_Electrical1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.FirstSteps.Electrical1,fileNamePrefix="HanserModelica_HanserModelica_FirstSteps_Electrical1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: HanserModelica requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: HanserModelica requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002607/0.002607, allocations: 80.11 kB / 0.4891 GB, free: 44.79 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1053/0.108, allocations: 55.61 MB / 0.5434 GB, free: 5.078 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical1): time 0.002331/0.1103, allocations: 497.1 kB / 0.5439 GB, free: 4.59 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.000179/0.1105, allocations: 19.97 kB / 0.5439 GB, free: 4.57 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.812e-05/0.1105, allocations: 0 / 0.5439 GB, free: 4.57 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 2.032e-05/0.1105, allocations: 3.938 kB / 0.5439 GB, free: 4.566 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 3.615e-05/0.1105, allocations: 8 kB / 0.5439 GB, free: 4.559 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001449/0.1107, allocations: 3.984 kB / 0.5439 GB, free: 4.555 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 7.175e-05/0.1108, allocations: 7.938 kB / 0.5439 GB, free: 4.547 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.907e-05/0.1108, allocations: 4 kB / 0.5439 GB, free: 4.543 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.868e-05/0.1109, allocations: 7.984 kB / 0.544 GB, free: 4.535 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.729e-05/0.1109, allocations: 3.938 kB / 0.544 GB, free: 4.531 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.414e-05/0.111, allocations: 7.938 kB / 0.544 GB, free: 4.523 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.089e-05/0.111, allocations: 0 / 0.544 GB, free: 4.523 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.73e-05/0.111, allocations: 0 / 0.544 GB, free: 4.523 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.339e-05/0.111, allocations: 7.922 kB / 0.544 GB, free: 4.516 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 7.479e-05/0.1111, allocations: 8.266 kB / 0.544 GB, free: 4.508 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.526e-06/0.1111, allocations: 8 kB / 0.544 GB, free: 4.5 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.725e-06/0.1111, allocations: 0 / 0.544 GB, free: 4.5 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.22e-06/0.1111, allocations: 0 / 0.544 GB, free: 4.5 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003732/0.1115, allocations: 242.4 kB / 0.5442 GB, free: 4.23 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.85e-05/0.1115, allocations: 15.98 kB / 0.5442 GB, free: 4.215 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.651e-05/0.1116, allocations: 34.75 kB / 0.5443 GB, free: 4.172 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.493e-05/0.1116, allocations: 4.891 kB / 0.5443 GB, free: 4.168 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001191/0.1117, allocations: 110.5 kB / 0.5444 GB, free: 4.035 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.192e-05/0.1117, allocations: 384 / 0.5444 GB, free: 4.035 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.057e-05/0.1117, allocations: 384 / 0.5444 GB, free: 4.035 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001016/0.1118, allocations: 50.12 kB / 0.5444 GB, free: 3.98 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.413e-05/0.1119, allocations: 11.92 kB / 0.5444 GB, free: 3.969 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.793e-06/0.1119, allocations: 0 / 0.5444 GB, free: 3.969 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.91e-06/0.1119, allocations: 0 / 0.5444 GB, free: 3.969 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.051e-05/0.1119, allocations: 4 kB / 0.5444 GB, free: 3.965 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000183/0.1121, allocations: 124.8 kB / 0.5446 GB, free: 3.801 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.957e-05/0.1122, allocations: 38.61 kB / 0.5446 GB, free: 3.754 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.909e-05/0.1122, allocations: 8.859 kB / 0.5446 GB, free: 3.742 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.294e-05/0.1122, allocations: 4 kB / 0.5446 GB, free: 3.738 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.696e-05/0.1123, allocations: 34.5 kB / 0.5446 GB, free: 3.695 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 9.52e-07/0.1123, allocations: 4 kB / 0.5446 GB, free: 3.691 MB / 366.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001568/0.1124, allocations: 49.72 kB / 0.5447 GB, free: 3.637 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.289e-05/0.1125, allocations: 51.41 kB / 0.5447 GB, free: 3.574 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.454e-05/0.1126, allocations: 101.8 kB / 0.5448 GB, free: 3.465 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.237e-05/0.1126, allocations: 29.7 kB / 0.5449 GB, free: 3.43 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.838e-05/0.1126, allocations: 80.14 kB / 0.5449 GB, free: 3.348 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.776e-05/0.1127, allocations: 11.91 kB / 0.545 GB, free: 3.336 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.32e-05/0.1127, allocations: 13.72 kB / 0.545 GB, free: 3.316 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001381/0.1128, allocations: 314.8 kB / 0.5453 GB, free: 3 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.792e-05/0.1128, allocations: 7.984 kB / 0.5453 GB, free: 2.992 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.275e-05/0.1129, allocations: 4 kB / 0.5453 GB, free: 2.988 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.008e-05/0.1129, allocations: 32.8 kB / 0.5453 GB, free: 2.953 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.1129, allocations: 0 / 0.5453 GB, free: 2.953 MB / 366.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.212e-05/0.113, allocations: 49.69 kB / 0.5454 GB, free: 2.898 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.113, allocations: 7.938 kB / 0.5454 GB, free: 2.891 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.113, allocations: 0 / 0.5454 GB, free: 2.891 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/0.113, allocations: 0 / 0.5454 GB, free: 2.891 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.261e-05/0.1131, allocations: 11.94 kB / 0.5454 GB, free: 2.879 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.1131, allocations: 3.984 kB / 0.5454 GB, free: 2.875 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.424e-05/0.1131, allocations: 0 / 0.5454 GB, free: 2.875 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.972e-06/0.1131, allocations: 4 kB / 0.5454 GB, free: 2.871 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.155e-05/0.1132, allocations: 113.8 kB / 0.5455 GB, free: 2.75 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.128e-05/0.1132, allocations: 8.406 kB / 0.5455 GB, free: 2.742 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.017e-05/0.1132, allocations: 7.688 kB / 0.5455 GB, free: 2.734 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-06/0.1132, allocations: 4 kB / 0.5455 GB, free: 2.73 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.1132, allocations: 0 / 0.5455 GB, free: 2.73 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.1132, allocations: 3.938 kB / 0.5455 GB, free: 2.727 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001208/0.1134, allocations: 128.7 kB / 0.5456 GB, free: 2.559 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.1134, allocations: 0 / 0.5456 GB, free: 2.559 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.619e-05/0.1134, allocations: 8 kB / 0.5456 GB, free: 2.551 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.951e-06/0.1135, allocations: 3.938 kB / 0.5457 GB, free: 2.547 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.484e-06/0.1135, allocations: 4 kB / 0.5457 GB, free: 2.543 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.1135, allocations: 0 / 0.5457 GB, free: 2.543 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.1135, allocations: 4 kB / 0.5457 GB, free: 2.539 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001412/0.1136, allocations: 77.11 kB / 0.5457 GB, free: 2.445 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.95e-06/0.1136, allocations: 0 / 0.5457 GB, free: 2.445 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.347e-05/0.1136, allocations: 3.938 kB / 0.5457 GB, free: 2.441 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.746e-05/0.1136, allocations: 7.969 kB / 0.5457 GB, free: 2.434 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.189e-05/0.1137, allocations: 0 / 0.5457 GB, free: 2.434 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.094e-06/0.1137, allocations: 0 / 0.5457 GB, free: 2.434 MB / 366.1 MB Notification: Performance of sorting global known variables: time 4.965e-05/0.1137, allocations: 87.27 kB / 0.5458 GB, free: 2.348 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1137, allocations: 0 / 0.5458 GB, free: 2.348 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0001785/0.1139, allocations: 64 / 0.5458 GB, free: 2.348 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (i) * 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 (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004471/0.1143, allocations: 0.6163 MB / 0.5464 GB, free: 1.699 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 8.591e-05/0.1144, allocations: 19.92 kB / 0.5465 GB, free: 1.68 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.588e-06/0.1144, allocations: 4 kB / 0.5465 GB, free: 1.676 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.328e-05/0.1144, allocations: 4 kB / 0.5465 GB, free: 1.672 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001369/0.1146, allocations: 0 / 0.5465 GB, free: 1.672 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001004/0.1156, allocations: 1.112 MB / 0.5475 GB, free: 492 kB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.402e-05/0.1156, allocations: 63.34 kB / 0.5476 GB, free: 408 kB / 366.1 MB Notification: Performance of simCode: alias equations: time 2.202e-05/0.1157, allocations: 4.062 kB / 0.5476 GB, free: 404 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.461e-05/0.1157, allocations: 15.38 kB / 0.5476 GB, free: 388 kB / 366.1 MB Notification: Performance of SimCode: time 5.51e-07/0.1157, allocations: 0 / 0.5476 GB, free: 388 kB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03011/0.1458, allocations: 1.599 MB / 0.5492 GB, free: 14.88 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.19/11.33, allocations: 10.81 kB / 0.5492 GB, free: 14.88 MB / 382.1 MB " [Timeout remaining time 649] (rm -f HanserModelica_HanserModelica.FirstSteps.Electrical1.pipe ; mkfifo HanserModelica_HanserModelica.FirstSteps.Electrical1.pipe ; head -c 1048576 < HanserModelica_HanserModelica.FirstSteps.Electrical1.pipe >> ../files/HanserModelica_HanserModelica.FirstSteps.Electrical1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HanserModelica_HanserModelica_FirstSteps_Electrical1_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 HanserModelica_HanserModelica_FirstSteps_Electrical1.fmu > HanserModelica_HanserModelica.FirstSteps.Electrical1.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.205796310212463] Failed to read output from testmodel.py, exit status != 0: 11.446357452776283 11.470074052 11.355169528 Calling exit ...