Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.Electrical.Signals.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.001417/0.001417, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.719/1.719, allocations: 230.6 MB / 253.4 MB, free: 14.49 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.001595/0.001595, allocations: 213.7 kB / 310 MB, free: 3.156 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.04065/0.04065, allocations: 8.914 MB / 375.4 MB, free: 6.785 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.Electrical.Signals,fileNamePrefix="HanserModelica_HanserModelica_Electrical_Signals",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.Electrical.Signals,fileNamePrefix="HanserModelica_HanserModelica_Electrical_Signals",fmuType="cs",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.002477/0.002477, allocations: 83.88 kB / 0.49 GB, free: 44.94 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1329/0.1353, allocations: 55.62 MB / 0.5443 GB, free: 5.223 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.Signals): time 0.005425/0.1408, allocations: 2.25 MB / 0.5465 GB, free: 2.957 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001543/0.1423, allocations: 0.5337 MB / 0.547 GB, free: 2.418 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00017/0.1425, allocations: 4 kB / 0.547 GB, free: 2.414 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002516/0.1427, allocations: 27.72 kB / 0.547 GB, free: 2.387 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001311/0.1428, allocations: 39.66 kB / 0.5471 GB, free: 2.348 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002931/0.1431, allocations: 43.92 kB / 0.5471 GB, free: 2.305 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000335/0.1435, allocations: 163.3 kB / 0.5473 GB, free: 2.145 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002273/0.1437, allocations: 50.22 kB / 0.5473 GB, free: 2.098 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001189/0.1438, allocations: 67.7 kB / 0.5474 GB, free: 2.031 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001654/0.144, allocations: 71.58 kB / 0.5474 GB, free: 1.961 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.755e-05/0.144, allocations: 16 kB / 0.5475 GB, free: 1.945 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.506e-05/0.1441, allocations: 12 kB / 0.5475 GB, free: 1.934 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.241e-05/0.1441, allocations: 27.92 kB / 0.5475 GB, free: 1.906 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001184/0.1442, allocations: 83.59 kB / 0.5476 GB, free: 1.824 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003606/0.1446, allocations: 167.3 kB / 0.5477 GB, free: 1.66 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.005e-06/0.1446, allocations: 0 / 0.5477 GB, free: 1.66 MB / 366.1 MB Notification: Performance of FrontEnd: time 4.739e-06/0.1446, allocations: 4 kB / 0.5477 GB, free: 1.656 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.117e-05/0.1446, allocations: 0 / 0.5477 GB, free: 1.656 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: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0008912/0.1455, allocations: 381.6 kB / 0.5481 GB, free: 1.254 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.099e-05/0.1456, allocations: 15.92 kB / 0.5481 GB, free: 1.238 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.661e-05/0.1456, allocations: 8.188 kB / 0.5481 GB, free: 1.23 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.79e-05/0.1457, allocations: 46.75 kB / 0.5482 GB, free: 1.176 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.152e-05/0.1457, allocations: 24.78 kB / 0.5482 GB, free: 1.152 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004912/0.1462, allocations: 154.3 kB / 0.5483 GB, free: 0.9766 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.043e-05/0.1463, allocations: 8.375 kB / 0.5483 GB, free: 0.9688 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.796e-05/0.1463, allocations: 16.38 kB / 0.5484 GB, free: 0.9531 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003932/0.1467, allocations: 172.7 kB / 0.5485 GB, free: 0.7695 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.41e-05/0.1467, allocations: 0 / 0.5485 GB, free: 0.7695 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.117e-05/0.1467, allocations: 4 kB / 0.5485 GB, free: 0.7656 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.097e-05/0.1467, allocations: 4 kB / 0.5485 GB, free: 0.7617 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002462/0.147, allocations: 88.73 kB / 0.5486 GB, free: 0.6758 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001284/0.1483, allocations: 0.6983 MB / 0.5493 GB, free: 15.91 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002301/0.1485, allocations: 78.45 kB / 0.5494 GB, free: 15.83 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.881e-05/0.1486, allocations: 32.84 kB / 0.5494 GB, free: 15.79 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.906e-05/0.1486, allocations: 4 kB / 0.5494 GB, free: 15.79 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.022e-05/0.1487, allocations: 34.56 kB / 0.5494 GB, free: 15.75 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.472e-06/0.1487, allocations: 0 / 0.5494 GB, free: 15.75 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004259/0.1491, allocations: 101.6 kB / 0.5495 GB, free: 15.64 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.236e-05/0.1492, allocations: 55.34 kB / 0.5496 GB, free: 15.57 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001995/0.1494, allocations: 157.5 kB / 0.5497 GB, free: 15.41 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.485e-05/0.1494, allocations: 29.7 kB / 0.5498 GB, free: 15.38 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001264/0.1495, allocations: 151.7 kB / 0.5499 GB, free: 15.22 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.444e-05/0.1496, allocations: 31.72 kB / 0.5499 GB, free: 15.19 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.451e-05/0.1496, allocations: 25.72 kB / 0.55 GB, free: 15.16 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001825/0.1498, allocations: 318.8 kB / 0.5503 GB, free: 14.84 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.91e-05/0.1499, allocations: 27.98 kB / 0.5503 GB, free: 14.81 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001044/0.15, allocations: 58.53 kB / 0.5504 GB, free: 14.74 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001852/0.1502, allocations: 100.1 kB / 0.5505 GB, free: 14.63 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.1502, allocations: 0 / 0.5505 GB, free: 14.63 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002725/0.1504, allocations: 137.5 kB / 0.5506 GB, free: 14.49 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.416e-05/0.1505, allocations: 8 kB / 0.5506 GB, free: 14.48 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.1505, allocations: 0 / 0.5506 GB, free: 14.48 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.537e-05/0.1505, allocations: 4 kB / 0.5506 GB, free: 14.48 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001615/0.1507, allocations: 27.92 kB / 0.5506 GB, free: 14.45 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.469e-05/0.1507, allocations: 7.938 kB / 0.5506 GB, free: 14.44 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.278e-05/0.1508, allocations: 7.953 kB / 0.5506 GB, free: 14.43 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.167e-05/0.1508, allocations: 4 kB / 0.5506 GB, free: 14.43 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 1 (integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001537/0.1509, allocations: 125.9 kB / 0.5508 GB, free: 14.3 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.088e-05/0.151, allocations: 15.94 kB / 0.5508 GB, free: 14.28 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.507e-05/0.151, allocations: 16.66 kB / 0.5508 GB, free: 14.27 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.151, allocations: 0 / 0.5508 GB, free: 14.27 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.02e-05/0.151, allocations: 3.938 kB / 0.5508 GB, free: 14.26 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.181e-06/0.151, allocations: 0 / 0.5508 GB, free: 14.26 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003094/0.1513, allocations: 196.8 kB / 0.551 GB, free: 14.03 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.1513, allocations: 0 / 0.551 GB, free: 14.03 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001105/0.1515, allocations: 15.98 kB / 0.551 GB, free: 14.01 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-06/0.1515, allocations: 0 / 0.551 GB, free: 14.01 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.518e-05/0.1515, allocations: 8 kB / 0.551 GB, free: 14 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.1515, allocations: 0 / 0.551 GB, free: 14 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.337e-06/0.1515, allocations: 3.938 kB / 0.551 GB, free: 14 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003645/0.1518, allocations: 207.4 kB / 0.5512 GB, free: 13.78 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.299e-05/0.1519, allocations: 11.92 kB / 0.5512 GB, free: 13.77 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.418e-05/0.1519, allocations: 0 / 0.5512 GB, free: 13.77 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001062/0.152, allocations: 15.98 kB / 0.5512 GB, free: 13.75 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.472e-05/0.152, allocations: 11.94 kB / 0.5512 GB, free: 13.74 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.135e-06/0.1521, allocations: 4.078 kB / 0.5513 GB, free: 13.74 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001136/0.1522, allocations: 115.2 kB / 0.5514 GB, free: 13.62 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1522, allocations: 0 / 0.5514 GB, free: 13.62 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002896/0.1525, allocations: 31.89 kB / 0.5514 GB, free: 13.59 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (inductor.i,integrator.y) * 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): 7 * 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.0007544/0.1532, allocations: 0.7401 MB / 0.5521 GB, free: 12.83 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002542/0.1535, allocations: 71.84 kB / 0.5522 GB, free: 12.76 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.1535, allocations: 0 / 0.5522 GB, free: 12.76 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.411e-05/0.1535, allocations: 23.98 kB / 0.5522 GB, free: 12.73 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004361/0.154, allocations: 19.92 kB / 0.5522 GB, free: 12.71 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002548/0.1565, allocations: 1.802 MB / 0.554 GB, free: 10.8 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004058/0.1569, allocations: 0.7158 MB / 0.5547 GB, free: 10.06 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.897e-05/0.157, allocations: 12.97 kB / 0.5547 GB, free: 10.05 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.773e-05/0.1571, allocations: 39.42 kB / 0.5547 GB, free: 10.01 MB / 382.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1571, allocations: 0 / 0.5547 GB, free: 10.01 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02906/0.1861, allocations: 2.756 MB / 0.5574 GB, free: 7.375 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.3/12.48, allocations: 10.56 kB / 0.5574 GB, free: 7.367 MB / 382.1 MB " [Timeout remaining time 647] (rm -f HanserModelica_HanserModelica.Electrical.Signals.pipe ; mkfifo HanserModelica_HanserModelica.Electrical.Signals.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Electrical.Signals.pipe >> ../files/HanserModelica_HanserModelica.Electrical.Signals.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HanserModelica_HanserModelica_Electrical_Signals_fmu --startTime=0 --stopTime=3 --stepSize=0.001 --timeout=50 --tolerance=1e-06 HanserModelica_HanserModelica_Electrical_Signals.fmu > HanserModelica_HanserModelica.Electrical.Signals.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.180884753004648] Failed to read output from testmodel.py, exit status != 0: 12.644757150905207 12.941403724 12.792957231 Calling exit ...