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.001918/0.001918, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.513/1.513, allocations: 230.6 MB / 252.7 MB, free: 8.285 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.001801/0.001801, allocations: 205.1 kB / 309.2 MB, free: 3.129 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.04239/0.04239, allocations: 8.921 MB / 374.6 MB, free: 1.879 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.Electrical.Signals,fileNamePrefix="HanserModelica_HanserModelica_Electrical_Signals",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.002737/0.002737, allocations: 85.59 kB / 0.4892 GB, free: 4.562 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1189/0.1216, allocations: 55.62 MB / 0.5435 GB, free: 5.043 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.Signals): time 0.003987/0.1256, allocations: 2.239 MB / 0.5457 GB, free: 2.789 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001122/0.1267, allocations: 0.5415 MB / 0.5462 GB, free: 2.242 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001604/0.1269, allocations: 7.938 kB / 0.5462 GB, free: 2.234 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001634/0.1271, allocations: 31.72 kB / 0.5463 GB, free: 2.203 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001132/0.1272, allocations: 35.64 kB / 0.5463 GB, free: 2.168 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001896/0.1274, allocations: 47.94 kB / 0.5463 GB, free: 2.121 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002481/0.1276, allocations: 155.4 kB / 0.5465 GB, free: 1.969 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001463/0.1278, allocations: 55.84 kB / 0.5465 GB, free: 1.918 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.313e-05/0.1279, allocations: 59.78 kB / 0.5466 GB, free: 1.859 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001332/0.128, allocations: 71.58 kB / 0.5467 GB, free: 1.789 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.094e-05/0.128, allocations: 16 kB / 0.5467 GB, free: 1.773 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.655e-05/0.128, allocations: 12 kB / 0.5467 GB, free: 1.762 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.094e-05/0.1281, allocations: 35.91 kB / 0.5467 GB, free: 1.727 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.298e-05/0.1282, allocations: 71.61 kB / 0.5468 GB, free: 1.656 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000261/0.1284, allocations: 171.2 kB / 0.547 GB, free: 1.488 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.1284, allocations: 4 kB / 0.547 GB, free: 1.484 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.1284, allocations: 4 kB / 0.547 GB, free: 1.48 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.053e-06/0.1284, allocations: 0 / 0.547 GB, free: 1.48 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: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0006853/0.1291, allocations: 377.7 kB / 0.5473 GB, free: 1.082 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.1292, allocations: 8.031 kB / 0.5473 GB, free: 1.074 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.717e-05/0.1292, allocations: 46.73 kB / 0.5474 GB, free: 1.02 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.51e-05/0.1293, allocations: 24.73 kB / 0.5474 GB, free: 0.9961 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003133/0.1296, allocations: 162.3 kB / 0.5476 GB, free: 0.8125 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.602e-05/0.1296, allocations: 8.375 kB / 0.5476 GB, free: 0.8047 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.273e-05/0.1296, allocations: 20.31 kB / 0.5476 GB, free: 0.7852 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003189/0.1299, allocations: 165.8 kB / 0.5477 GB, free: 0.6094 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/0.13, allocations: 0 / 0.5477 GB, free: 0.6094 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.786e-05/0.13, allocations: 4 kB / 0.5478 GB, free: 0.6055 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.13, allocations: 4 kB / 0.5478 GB, free: 0.6016 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002075/0.1302, allocations: 96.73 kB / 0.5478 GB, free: 0.5078 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001061/0.1313, allocations: 0.7021 MB / 0.5485 GB, free: 15.74 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001816/0.1314, allocations: 74.55 kB / 0.5486 GB, free: 15.66 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.018e-05/0.1315, allocations: 40.84 kB / 0.5486 GB, free: 15.62 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.067e-06/0.1315, allocations: 0 / 0.5486 GB, free: 15.62 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.793e-05/0.1316, allocations: 34.5 kB / 0.5487 GB, free: 15.57 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 1.332e-06/0.1316, allocations: 4 kB / 0.5487 GB, free: 15.57 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002968/0.1319, allocations: 101.6 kB / 0.5488 GB, free: 15.46 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.841e-05/0.1319, allocations: 51.41 kB / 0.5488 GB, free: 15.4 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000163/0.1321, allocations: 166 kB / 0.549 GB, free: 15.23 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.236e-05/0.1321, allocations: 29.7 kB / 0.549 GB, free: 15.2 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.159e-05/0.1322, allocations: 135.7 kB / 0.5491 GB, free: 15.06 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.405e-05/0.1322, allocations: 27.78 kB / 0.5492 GB, free: 15.03 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.271e-05/0.1323, allocations: 29.7 kB / 0.5492 GB, free: 15 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001476/0.1324, allocations: 318.8 kB / 0.5495 GB, free: 14.68 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.399e-05/0.1325, allocations: 27.98 kB / 0.5495 GB, free: 14.65 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001099/0.1326, allocations: 75.83 kB / 0.5496 GB, free: 14.56 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001605/0.1328, allocations: 88.38 kB / 0.5497 GB, free: 14.46 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.1328, allocations: 0 / 0.5497 GB, free: 14.46 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002478/0.133, allocations: 133.4 kB / 0.5498 GB, free: 14.32 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.133, allocations: 8 kB / 0.5498 GB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.133, allocations: 3.984 kB / 0.5498 GB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.133, allocations: 4.125 kB / 0.5498 GB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001516/0.1332, allocations: 27.94 kB / 0.5499 GB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.129e-05/0.1332, allocations: 7.922 kB / 0.5499 GB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.177e-05/0.1333, allocations: 11.95 kB / 0.5499 GB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.147e-06/0.1333, allocations: 4 kB / 0.5499 GB, free: 14.26 MB / 366.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.0001074/0.1334, allocations: 121.8 kB / 0.55 GB, free: 14.13 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.405e-05/0.1334, allocations: 7.953 kB / 0.55 GB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.744e-05/0.1335, allocations: 12.72 kB / 0.55 GB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.1335, allocations: 4 kB / 0.55 GB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.126e-05/0.1335, allocations: 7.922 kB / 0.55 GB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.1335, allocations: 0 / 0.55 GB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002507/0.1337, allocations: 196.6 kB / 0.5502 GB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.1337, allocations: 0 / 0.5502 GB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001061/0.1338, allocations: 19.92 kB / 0.5502 GB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.1338, allocations: 0 / 0.5502 GB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.414e-05/0.1339, allocations: 8 kB / 0.5502 GB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.1339, allocations: 3.938 kB / 0.5502 GB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/0.1339, allocations: 4.25 kB / 0.5502 GB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003034/0.1342, allocations: 211.4 kB / 0.5504 GB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.06e-05/0.1342, allocations: 7.984 kB / 0.5505 GB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.037e-05/0.1342, allocations: 4 kB / 0.5505 GB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.564e-05/0.1343, allocations: 4 kB / 0.5505 GB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.509e-05/0.1343, allocations: 11.92 kB / 0.5505 GB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.709e-06/0.1343, allocations: 0 / 0.5505 GB, free: 13.58 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001019/0.1344, allocations: 119.3 kB / 0.5506 GB, free: 13.46 MB / 366.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1344, allocations: 0 / 0.5506 GB, free: 13.46 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002741/0.1347, allocations: 39.83 kB / 0.5506 GB, free: 13.42 MB / 366.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.0006046/0.1353, allocations: 0.7319 MB / 0.5513 GB, free: 12.66 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001936/0.1355, allocations: 67.97 kB / 0.5514 GB, free: 12.6 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1355, allocations: 288 / 0.5514 GB, free: 12.6 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.658e-05/0.1356, allocations: 31.92 kB / 0.5514 GB, free: 12.57 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003089/0.1359, allocations: 26.69 kB / 0.5515 GB, free: 12.54 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002288/0.1382, allocations: 1.792 MB / 0.5532 GB, free: 10.64 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003917/0.1386, allocations: 0.7158 MB / 0.5539 GB, free: 9.898 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.076e-05/0.1386, allocations: 12.92 kB / 0.5539 GB, free: 9.883 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.188e-05/0.1387, allocations: 43.42 kB / 0.554 GB, free: 9.84 MB / 366.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1387, allocations: 0 / 0.554 GB, free: 9.84 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0325/0.1712, allocations: 2.72 MB / 0.5566 GB, free: 7.25 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.26/11.43, allocations: 6.578 kB / 0.5566 GB, free: 7.246 MB / 366.1 MB " [Timeout remaining time 648] (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: 14.346391767030582] Failed to read output from testmodel.py, exit status != 0: 11.535671441117302 11.552712022 11.421034703 Calling exit ...