Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.Machines.TestDoubleLayer10over12.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001842/0.001842, allocations: 102.4 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.412/1.412, allocations: 225.6 MB / 244.8 MB, free: 14.21 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001465/0.001465, allocations: 194.3 kB / 299.8 MB, free: 9.848 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.04108/0.04108, allocations: 8.928 MB / 363.6 MB, free: 10.2 MB / 302.1 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/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 Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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(HanserModelica.Machines.TestDoubleLayer10over12,fileNamePrefix="HanserModelica_HanserModelica_Machines_TestDoubleLayer10over12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.Machines.TestDoubleLayer10over12,fileNamePrefix="HanserModelica_HanserModelica_Machines_TestDoubleLayer10over12",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002372/0.002372, allocations: 80.69 kB / 486 MB, free: 11.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1082/0.1106, allocations: 54.41 MB / 0.5278 GB, free: 1.25 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Machines.TestDoubleLayer10over12): time 0.002599/0.1132, allocations: 1.246 MB / 0.529 GB, free: 15.98 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001997/0.1152, allocations: 1.173 MB / 0.5302 GB, free: 14.81 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.133e-05/0.1152, allocations: 3.938 kB / 0.5302 GB, free: 14.8 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004295/0.1156, allocations: 75.2 kB / 0.5302 GB, free: 14.73 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000945/0.1166, allocations: 398.5 kB / 0.5306 GB, free: 14.34 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.589e-06/0.1166, allocations: 0 / 0.5306 GB, free: 14.34 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001474/0.118, allocations: 0.9675 MB / 0.5316 GB, free: 13.38 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.851e-05/0.1181, allocations: 4 kB / 0.5316 GB, free: 13.37 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.406e-05/0.1181, allocations: 7.938 kB / 0.5316 GB, free: 13.36 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.203e-05/0.1182, allocations: 23.84 kB / 0.5316 GB, free: 13.34 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.027e-05/0.1182, allocations: 0 / 0.5316 GB, free: 13.34 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001409/0.1183, allocations: 43.92 kB / 0.5316 GB, free: 13.3 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.082e-05/0.1184, allocations: 19.92 kB / 0.5316 GB, free: 13.28 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.178e-05/0.1184, allocations: 23.8 kB / 0.5317 GB, free: 13.25 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001708/0.1186, allocations: 72.39 kB / 0.5317 GB, free: 13.18 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/0.1186, allocations: 3.984 kB / 0.5317 GB, free: 13.18 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1186, allocations: 0 / 0.5317 GB, free: 13.18 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.1186, allocations: 0 / 0.5317 GB, free: 13.18 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0004421/0.119, allocations: 390.9 kB / 0.5321 GB, free: 12.75 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/0.1191, allocations: 8.031 kB / 0.5321 GB, free: 12.74 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.865e-05/0.1191, allocations: 110 kB / 0.5322 GB, free: 12.62 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003898/0.1195, allocations: 108.1 kB / 0.5323 GB, free: 12.52 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004967/0.12, allocations: 355.9 kB / 0.5327 GB, free: 12.13 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.168e-05/0.1201, allocations: 158.9 kB / 0.5328 GB, free: 11.97 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.096e-05/0.1202, allocations: 154.9 kB / 0.533 GB, free: 11.82 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.158e-05/0.1202, allocations: 109.1 kB / 0.5331 GB, free: 11.71 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.323e-05/0.1203, allocations: 75.28 kB / 0.5331 GB, free: 11.63 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.612e-05/0.1203, allocations: 158.5 kB / 0.5333 GB, free: 11.48 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.959e-05/0.1204, allocations: 150.6 kB / 0.5334 GB, free: 11.33 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.515e-05/0.1205, allocations: 150.6 kB / 0.5336 GB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003512/0.1208, allocations: 465.9 kB / 0.534 GB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.986e-05/0.1209, allocations: 169.1 kB / 0.5342 GB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.796e-05/0.121, allocations: 88.08 kB / 0.5343 GB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.688e-05/0.121, allocations: 75.28 kB / 0.5343 GB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.083e-05/0.1211, allocations: 113.8 kB / 0.5345 GB, free: 10.21 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 9.71e-07/0.1211, allocations: 0 / 0.5345 GB, free: 10.21 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 8.933e-05/0.1212, allocations: 33.66 kB / 0.5345 GB, free: 10.18 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.427e-05/0.1212, allocations: 126.7 kB / 0.5346 GB, free: 10.04 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002055/0.1215, allocations: 172 kB / 0.5348 GB, free: 9.859 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.667e-05/0.1215, allocations: 25.7 kB / 0.5348 GB, free: 9.828 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.091e-05/0.1215, allocations: 108.1 kB / 0.5349 GB, free: 9.719 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.684e-06/0.1216, allocations: 0 / 0.5349 GB, free: 9.719 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.064e-05/0.1216, allocations: 13.72 kB / 0.5349 GB, free: 9.699 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001527/0.1217, allocations: 322.8 kB / 0.5352 GB, free: 9.375 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.748e-06/0.1217, allocations: 0 / 0.5352 GB, free: 9.375 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.635e-06/0.1217, allocations: 3.938 kB / 0.5352 GB, free: 9.371 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.196e-05/0.1218, allocations: 75.28 kB / 0.5353 GB, free: 9.297 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.69e-05/0.1218, allocations: 75.28 kB / 0.5354 GB, free: 9.223 MB / 350.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.078e-05/0.1219, allocations: 37.59 kB / 0.5354 GB, free: 9.18 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.357e-05/0.1219, allocations: 87.28 kB / 0.5355 GB, free: 9.094 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.153e-05/0.1219, allocations: 79.28 kB / 0.5356 GB, free: 9.016 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.991e-05/0.122, allocations: 154.5 kB / 0.5357 GB, free: 8.863 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.648e-05/0.1221, allocations: 79.28 kB / 0.5358 GB, free: 8.785 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.326e-05/0.1221, allocations: 158.5 kB / 0.5359 GB, free: 8.629 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.347e-05/0.1222, allocations: 83.33 kB / 0.536 GB, free: 8.547 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.926e-05/0.1222, allocations: 75.28 kB / 0.5361 GB, free: 8.473 MB / 350.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 (0): * Single equations (assignments): 0 * 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 0.0001557/0.1224, allocations: 284.3 kB / 0.5364 GB, free: 8.184 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.66e-05/0.1225, allocations: 116.8 kB / 0.5365 GB, free: 8.062 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.745e-05/0.1226, allocations: 117.5 kB / 0.5366 GB, free: 7.938 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.412e-05/0.1226, allocations: 184.2 kB / 0.5368 GB, free: 7.75 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.18e-05/0.1227, allocations: 176.3 kB / 0.5369 GB, free: 7.57 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.16e-05/0.1228, allocations: 184.2 kB / 0.5371 GB, free: 7.383 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003296/0.1231, allocations: 421.2 kB / 0.5375 GB, free: 6.914 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.628e-05/0.1232, allocations: 101 kB / 0.5376 GB, free: 6.809 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.276e-05/0.1233, allocations: 112.9 kB / 0.5377 GB, free: 6.691 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.454e-05/0.1233, allocations: 184.2 kB / 0.5379 GB, free: 6.504 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001007/0.1234, allocations: 188.2 kB / 0.5381 GB, free: 6.312 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.901e-05/0.1235, allocations: 176.3 kB / 0.5382 GB, free: 6.133 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.791e-05/0.1236, allocations: 176.3 kB / 0.5384 GB, free: 5.953 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000201/0.1238, allocations: 311.7 kB / 0.5387 GB, free: 5.625 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001238/0.124, allocations: 201.9 kB / 0.5389 GB, free: 5.402 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001079/0.1241, allocations: 180.3 kB / 0.5391 GB, free: 5.219 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001086/0.1242, allocations: 101 kB / 0.5392 GB, free: 5.113 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001107/0.1243, allocations: 192.2 kB / 0.5393 GB, free: 4.918 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.8e-05/0.1243, allocations: 101 kB / 0.5394 GB, free: 4.812 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001223/0.1245, allocations: 127.9 kB / 0.5396 GB, free: 4.688 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1245, allocations: 3.938 kB / 0.5396 GB, free: 4.684 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002944/0.1248, allocations: 4 kB / 0.5396 GB, free: 4.68 MB / 350.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 (0): * Single equations (assignments): 0 * 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.0006827/0.1254, allocations: 0.8169 MB / 0.5404 GB, free: 3.832 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 5.128e-05/0.1255, allocations: 0 / 0.5404 GB, free: 3.832 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.1255, allocations: 0 / 0.5404 GB, free: 3.832 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.784e-06/0.1255, allocations: 4 kB / 0.5404 GB, free: 3.828 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006114/0.1261, allocations: 469.9 kB / 0.5408 GB, free: 3.367 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001884/0.128, allocations: 1.817 MB / 0.5426 GB, free: 1.473 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004338/0.1284, allocations: 0.7 MB / 0.5433 GB, free: 0.7461 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.361e-05/0.1285, allocations: 8 kB / 0.5433 GB, free: 0.7383 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.739e-05/0.1285, allocations: 27.42 kB / 0.5433 GB, free: 0.7109 MB / 350.1 MB Notification: Performance of SimCode: time 9.92e-07/0.1285, allocations: 0 / 0.5433 GB, free: 0.7109 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02355/0.1521, allocations: 1.845 MB / 0.5451 GB, free: 14.96 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.049/8.201, allocations: 16.17 kB / 0.5451 GB, free: 14.95 MB / 366.1 MB " [Timeout remaining time 652] (rm -f HanserModelica_HanserModelica.Machines.TestDoubleLayer10over12.pipe ; mkfifo HanserModelica_HanserModelica.Machines.TestDoubleLayer10over12.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Machines.TestDoubleLayer10over12.pipe >> ../files/HanserModelica_HanserModelica.Machines.TestDoubleLayer10over12.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HanserModelica_HanserModelica_Machines_TestDoubleLayer10over12_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 HanserModelica_HanserModelica_Machines_TestDoubleLayer10over12.fmu > HanserModelica_HanserModelica.Machines.TestDoubleLayer10over12.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.958190061617643] Failed to read output from testmodel.py, exit status != 0: 8.447156246285886 8.285511132 8.164085794 Calling exit ...