Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.Machines.TestSingleLayer12over12.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.001318/0.001318, allocations: 104.1 kB / 16.45 MB, free: 6.035 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.388/1.388, allocations: 225.6 MB / 244.8 MB, free: 14.16 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.001535/0.001535, allocations: 193.6 kB / 299.8 MB, free: 9.82 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.04116/0.04116, allocations: 8.925 MB / 363.6 MB, free: 10.16 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.TestSingleLayer12over12,fileNamePrefix="HanserModelica_HanserModelica_Machines_TestSingleLayer12over12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.Machines.TestSingleLayer12over12,fileNamePrefix="HanserModelica_HanserModelica_Machines_TestSingleLayer12over12",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002396/0.002396, allocations: 85.58 kB / 486 MB, free: 11.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1096/0.112, allocations: 54.42 MB / 0.5278 GB, free: 1.367 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Machines.TestSingleLayer12over12): time 0.002525/0.1145, allocations: 1.249 MB / 0.529 GB, free: 108 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002182/0.1167, allocations: 1.161 MB / 0.5301 GB, free: 14.94 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.771e-05/0.1167, allocations: 3.938 kB / 0.5301 GB, free: 14.93 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004779/0.1172, allocations: 79.2 kB / 0.5302 GB, free: 14.86 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001082/0.1183, allocations: 402.5 kB / 0.5306 GB, free: 14.46 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.617e-06/0.1183, allocations: 0 / 0.5306 GB, free: 14.46 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001532/0.1198, allocations: 0.9675 MB / 0.5315 GB, free: 13.5 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.471e-05/0.1199, allocations: 4 kB / 0.5316 GB, free: 13.49 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.853e-05/0.1199, allocations: 11.92 kB / 0.5316 GB, free: 13.48 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.08e-05/0.1199, allocations: 19.86 kB / 0.5316 GB, free: 13.46 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.044e-05/0.1199, allocations: 0 / 0.5316 GB, free: 13.46 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001528/0.1201, allocations: 43.91 kB / 0.5316 GB, free: 13.42 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.114e-05/0.1202, allocations: 23.92 kB / 0.5316 GB, free: 13.39 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.154e-05/0.1202, allocations: 19.81 kB / 0.5317 GB, free: 13.38 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002036/0.1204, allocations: 72.38 kB / 0.5317 GB, free: 13.3 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.945e-06/0.1204, allocations: 8 kB / 0.5317 GB, free: 13.3 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.1204, allocations: 0 / 0.5317 GB, free: 13.3 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.057e-05/0.1204, allocations: 0 / 0.5317 GB, free: 13.3 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.0004924/0.1209, allocations: 382.9 kB / 0.5321 GB, free: 12.88 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/0.121, allocations: 12.03 kB / 0.5321 GB, free: 12.86 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.53e-05/0.121, allocations: 106 kB / 0.5322 GB, free: 12.75 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004807/0.1215, allocations: 116.1 kB / 0.5323 GB, free: 12.64 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005369/0.1221, allocations: 351.9 kB / 0.5327 GB, free: 12.25 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.336e-05/0.1221, allocations: 150.9 kB / 0.5328 GB, free: 12.1 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.949e-05/0.1222, allocations: 154.9 kB / 0.533 GB, free: 11.95 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.197e-05/0.1223, allocations: 109.1 kB / 0.5331 GB, free: 11.84 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.558e-05/0.1224, allocations: 75.28 kB / 0.5331 GB, free: 11.76 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.077e-05/0.1224, allocations: 154.5 kB / 0.5333 GB, free: 11.61 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.957e-05/0.1225, allocations: 158.5 kB / 0.5334 GB, free: 11.45 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.207e-05/0.1226, allocations: 150.6 kB / 0.5336 GB, free: 11.3 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003712/0.123, allocations: 469.9 kB / 0.534 GB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000116/0.1231, allocations: 165.1 kB / 0.5342 GB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.729e-05/0.1231, allocations: 84.08 kB / 0.5343 GB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.037e-05/0.1232, allocations: 75.28 kB / 0.5343 GB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.666e-05/0.1233, allocations: 113.8 kB / 0.5344 GB, free: 10.34 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 1.112e-06/0.1233, allocations: 0 / 0.5344 GB, free: 10.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 9.369e-05/0.1234, allocations: 41.64 kB / 0.5345 GB, free: 10.3 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.401e-05/0.1234, allocations: 130.7 kB / 0.5346 GB, free: 10.16 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002109/0.1237, allocations: 164 kB / 0.5348 GB, free: 9.984 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.466e-05/0.1237, allocations: 25.7 kB / 0.5348 GB, free: 9.953 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.2e-05/0.1237, allocations: 104.1 kB / 0.5349 GB, free: 9.848 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.542e-06/0.1237, allocations: 3.938 kB / 0.5349 GB, free: 9.844 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.301e-05/0.1238, allocations: 13.72 kB / 0.5349 GB, free: 9.824 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001716/0.1239, allocations: 326.8 kB / 0.5352 GB, free: 9.496 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.859e-06/0.1239, allocations: 0 / 0.5352 GB, free: 9.496 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.404e-06/0.1239, allocations: 3.938 kB / 0.5352 GB, free: 9.492 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.421e-05/0.124, allocations: 75.28 kB / 0.5353 GB, free: 9.418 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.237e-05/0.124, allocations: 75.28 kB / 0.5354 GB, free: 9.344 MB / 350.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.665e-05/0.1241, allocations: 41.59 kB / 0.5354 GB, free: 9.297 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.874e-05/0.1241, allocations: 79.28 kB / 0.5355 GB, free: 9.219 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.375e-05/0.1242, allocations: 83.27 kB / 0.5356 GB, free: 9.137 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.991e-05/0.1243, allocations: 158.5 kB / 0.5357 GB, free: 8.98 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.414e-05/0.1243, allocations: 75.28 kB / 0.5358 GB, free: 8.906 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.54e-05/0.1244, allocations: 158.5 kB / 0.5359 GB, free: 8.75 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.104e-05/0.1245, allocations: 75.33 kB / 0.536 GB, free: 8.676 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.988e-05/0.1245, allocations: 83.28 kB / 0.5361 GB, free: 8.594 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.0001705/0.1247, allocations: 280.3 kB / 0.5364 GB, free: 8.309 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.627e-05/0.1248, allocations: 120.8 kB / 0.5365 GB, free: 8.184 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.787e-05/0.1248, allocations: 113.5 kB / 0.5366 GB, free: 8.062 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.846e-05/0.1249, allocations: 180.2 kB / 0.5367 GB, free: 7.879 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.179e-05/0.125, allocations: 184.2 kB / 0.5369 GB, free: 7.691 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.189e-05/0.1251, allocations: 184.2 kB / 0.5371 GB, free: 7.504 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003069/0.1254, allocations: 425.2 kB / 0.5375 GB, free: 7.031 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.76e-05/0.1255, allocations: 105 kB / 0.5376 GB, free: 6.922 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.648e-05/0.1255, allocations: 112.8 kB / 0.5377 GB, free: 6.805 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.69e-05/0.1256, allocations: 176.3 kB / 0.5379 GB, free: 6.625 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.124e-05/0.1257, allocations: 180.2 kB / 0.5381 GB, free: 6.441 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.511e-05/0.1258, allocations: 188.3 kB / 0.5382 GB, free: 6.25 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.216e-05/0.1258, allocations: 176.3 kB / 0.5384 GB, free: 6.07 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001695/0.126, allocations: 307.7 kB / 0.5387 GB, free: 5.746 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001174/0.1261, allocations: 197.9 kB / 0.5389 GB, free: 5.527 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001019/0.1262, allocations: 184.3 kB / 0.5391 GB, free: 5.34 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001057/0.1263, allocations: 109 kB / 0.5392 GB, free: 5.227 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.688e-05/0.1264, allocations: 180.2 kB / 0.5393 GB, free: 5.043 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.292e-05/0.1265, allocations: 101 kB / 0.5394 GB, free: 4.938 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001049/0.1266, allocations: 127.9 kB / 0.5396 GB, free: 4.812 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1266, allocations: 0 / 0.5396 GB, free: 4.812 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002693/0.1269, allocations: 4 kB / 0.5396 GB, free: 4.809 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.000501/0.1274, allocations: 0.813 MB / 0.5403 GB, free: 3.965 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 4.252e-05/0.1274, allocations: 7.938 kB / 0.5404 GB, free: 3.957 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1274, allocations: 0 / 0.5404 GB, free: 3.957 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.323e-06/0.1274, allocations: 3.938 kB / 0.5404 GB, free: 3.953 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000524/0.1279, allocations: 471.7 kB / 0.5408 GB, free: 3.488 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001649/0.1296, allocations: 1.821 MB / 0.5426 GB, free: 1.59 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003533/0.1299, allocations: 0.7 MB / 0.5433 GB, free: 0.8633 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.564e-05/0.13, allocations: 7.984 kB / 0.5433 GB, free: 0.8555 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.142e-05/0.13, allocations: 19.44 kB / 0.5433 GB, free: 0.8359 MB / 350.1 MB Notification: Performance of SimCode: time 4.91e-07/0.13, allocations: 0 / 0.5433 GB, free: 0.8359 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02367/0.1537, allocations: 1.846 MB / 0.5451 GB, free: 15.08 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.111/8.264, allocations: 20.89 kB / 0.5451 GB, free: 15.06 MB / 366.1 MB " [Timeout remaining time 651] (rm -f HanserModelica_HanserModelica.Machines.TestSingleLayer12over12.pipe ; mkfifo HanserModelica_HanserModelica.Machines.TestSingleLayer12over12.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Machines.TestSingleLayer12over12.pipe >> ../files/HanserModelica_HanserModelica.Machines.TestSingleLayer12over12.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HanserModelica_HanserModelica_Machines_TestSingleLayer12over12_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 HanserModelica_HanserModelica_Machines_TestSingleLayer12over12.fmu > HanserModelica_HanserModelica.Machines.TestSingleLayer12over12.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.952494301833212] Failed to read output from testmodel.py, exit status != 0: 8.522357812151313 8.3562982 8.23166548 Calling exit ...