Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.FirstSteps.Electrical3.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.001366/0.001366, allocations: 109.8 kB / 19.73 MB, free: 2.238 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.501/1.501, allocations: 230.6 MB / 253.4 MB, free: 14.48 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.00155/0.00155, allocations: 208.4 kB / 310 MB, free: 3.105 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.04081/0.04081, allocations: 8.916 MB / 375.4 MB, free: 6.746 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.Electrical3,fileNamePrefix="HanserModelica_HanserModelica_FirstSteps_Electrical3",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.FirstSteps.Electrical3,fileNamePrefix="HanserModelica_HanserModelica_FirstSteps_Electrical3",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.002402/0.002402, allocations: 83.88 kB / 0.49 GB, free: 44.91 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09297/0.09537, allocations: 55.61 MB / 0.5443 GB, free: 5.195 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical3): time 0.002727/0.0981, allocations: 1.25 MB / 0.5455 GB, free: 3.934 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001562/0.09825, allocations: 26.08 kB / 0.5455 GB, free: 3.91 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.066e-05/0.09828, allocations: 8 kB / 0.5455 GB, free: 3.902 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.954e-05/0.0983, allocations: 0 / 0.5455 GB, free: 3.902 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 6.057e-05/0.09836, allocations: 7.875 kB / 0.5455 GB, free: 3.895 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001231/0.09849, allocations: 0 / 0.5455 GB, free: 3.895 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 7.496e-05/0.09856, allocations: 19.92 kB / 0.5455 GB, free: 3.875 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.291e-05/0.09862, allocations: 0 / 0.5455 GB, free: 3.875 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.573e-05/0.09864, allocations: 11.92 kB / 0.5456 GB, free: 3.863 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.156e-05/0.0987, allocations: 4 kB / 0.5456 GB, free: 3.859 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.46e-05/0.09872, allocations: 0 / 0.5456 GB, free: 3.859 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.676e-06/0.09873, allocations: 0 / 0.5456 GB, free: 3.859 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.915e-05/0.09875, allocations: 7.922 kB / 0.5456 GB, free: 3.852 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 2.883e-05/0.09877, allocations: 12 kB / 0.5456 GB, free: 3.84 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 7.708e-05/0.09885, allocations: 12.16 kB / 0.5456 GB, free: 3.828 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.09886, allocations: 0 / 0.5456 GB, free: 3.828 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.09886, allocations: 3.938 kB / 0.5456 GB, free: 3.824 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.09887, allocations: 0 / 0.5456 GB, free: 3.824 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.0003958/0.09926, allocations: 250.4 kB / 0.5458 GB, free: 3.547 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.611e-05/0.09931, allocations: 11.98 kB / 0.5458 GB, free: 3.535 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.343e-05/0.09932, allocations: 192 / 0.5458 GB, free: 3.535 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.526e-05/0.09936, allocations: 34.75 kB / 0.5459 GB, free: 3.492 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.6e-05/0.09938, allocations: 8.891 kB / 0.5459 GB, free: 3.484 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001122/0.0995, allocations: 106.5 kB / 0.546 GB, free: 3.355 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.501e-05/0.09951, allocations: 8.375 kB / 0.546 GB, free: 3.348 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.107e-05/0.09953, allocations: 384 / 0.546 GB, free: 3.348 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001019/0.09963, allocations: 34.02 kB / 0.546 GB, free: 3.309 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/0.09964, allocations: 0 / 0.546 GB, free: 3.309 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.248e-06/0.09965, allocations: 3.984 kB / 0.546 GB, free: 3.305 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.551e-06/0.09966, allocations: 0 / 0.546 GB, free: 3.305 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.134e-05/0.0997, allocations: 15.92 kB / 0.546 GB, free: 3.289 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001844/0.09988, allocations: 132.8 kB / 0.5462 GB, free: 3.117 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.299e-05/0.09996, allocations: 30.58 kB / 0.5462 GB, free: 3.078 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.212e-05/0.09999, allocations: 16.94 kB / 0.5462 GB, free: 3.059 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.538e-06/0.1, allocations: 0 / 0.5462 GB, free: 3.059 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.297e-05/0.1, allocations: 34.5 kB / 0.5463 GB, free: 3.016 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 6.61e-07/0.1, allocations: 0 / 0.5463 GB, free: 3.016 MB / 366.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001546/0.1002, allocations: 53.62 kB / 0.5463 GB, free: 2.957 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.655e-05/0.1002, allocations: 55.41 kB / 0.5464 GB, free: 2.891 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.062e-05/0.1003, allocations: 97.86 kB / 0.5464 GB, free: 2.785 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.817e-05/0.1003, allocations: 25.7 kB / 0.5465 GB, free: 2.754 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.857e-05/0.1004, allocations: 84.12 kB / 0.5466 GB, free: 2.668 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.789e-05/0.1004, allocations: 15.83 kB / 0.5466 GB, free: 2.652 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.534e-05/0.1004, allocations: 17.72 kB / 0.5466 GB, free: 2.629 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001414/0.1006, allocations: 310.8 kB / 0.5469 GB, free: 2.316 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.054e-05/0.1006, allocations: 15.98 kB / 0.5469 GB, free: 2.301 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.097e-05/0.1006, allocations: 7.938 kB / 0.5469 GB, free: 2.293 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.95e-05/0.1007, allocations: 16.86 kB / 0.5469 GB, free: 2.273 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.1007, allocations: 3.938 kB / 0.5469 GB, free: 2.27 MB / 366.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.249e-05/0.1007, allocations: 45.69 kB / 0.547 GB, free: 2.219 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/0.1007, allocations: 13.03 kB / 0.547 GB, free: 2.207 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.1008, allocations: 0 / 0.547 GB, free: 2.207 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.1008, allocations: 0 / 0.547 GB, free: 2.207 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001053/0.1009, allocations: 8 kB / 0.547 GB, free: 2.199 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.65e-06/0.1009, allocations: 0 / 0.547 GB, free: 2.199 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.179e-05/0.1009, allocations: 11.94 kB / 0.547 GB, free: 2.188 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.972e-06/0.1009, allocations: 4 kB / 0.547 GB, free: 2.184 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.582e-05/0.101, allocations: 113.8 kB / 0.5471 GB, free: 2.062 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.138e-05/0.101, allocations: 7.891 kB / 0.5471 GB, free: 2.055 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.052e-05/0.101, allocations: 3.688 kB / 0.5471 GB, free: 2.051 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.153e-06/0.101, allocations: 0 / 0.5471 GB, free: 2.051 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.101, allocations: 4 kB / 0.5471 GB, free: 2.047 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.101, allocations: 0.5156 kB / 0.5471 GB, free: 2.047 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001143/0.1011, allocations: 124.8 kB / 0.5472 GB, free: 1.883 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.1011, allocations: 4 kB / 0.5472 GB, free: 1.879 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.442e-05/0.1012, allocations: 11.94 kB / 0.5473 GB, free: 1.867 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.898e-06/0.1012, allocations: 3.938 kB / 0.5473 GB, free: 1.863 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.035e-06/0.1012, allocations: 0 / 0.5473 GB, free: 1.863 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.1012, allocations: 0 / 0.5473 GB, free: 1.863 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.1012, allocations: 3.984 kB / 0.5473 GB, free: 1.859 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001399/0.1014, allocations: 77.11 kB / 0.5473 GB, free: 1.766 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.012e-05/0.1014, allocations: 7.969 kB / 0.5473 GB, free: 1.758 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.43e-05/0.1014, allocations: 8.062 kB / 0.5474 GB, free: 1.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.628e-05/0.1014, allocations: 0 / 0.5474 GB, free: 1.75 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.225e-05/0.1014, allocations: 0 / 0.5474 GB, free: 1.75 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.96e-06/0.1014, allocations: 4 kB / 0.5474 GB, free: 1.746 MB / 366.1 MB Notification: Performance of sorting global known variables: time 4.37e-05/0.1015, allocations: 79.27 kB / 0.5474 GB, free: 1.668 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1015, allocations: 0 / 0.5474 GB, free: 1.668 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0001774/0.1017, allocations: 7.938 kB / 0.5474 GB, free: 1.66 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.0004516/0.1021, allocations: 0.6163 MB / 0.548 GB, free: 1.012 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001052/0.1022, allocations: 15.98 kB / 0.5481 GB, free: 0.9961 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.1022, allocations: 0 / 0.5481 GB, free: 0.9961 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.855e-05/0.1022, allocations: 11.94 kB / 0.5481 GB, free: 0.9844 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001592/0.1024, allocations: 4 kB / 0.5481 GB, free: 0.9805 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001231/0.1036, allocations: 1.18 MB / 0.5492 GB, free: 15.72 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003352/0.104, allocations: 0.6768 MB / 0.5499 GB, free: 15.02 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 1.556e-05/0.104, allocations: 0 / 0.5499 GB, free: 15.02 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.538e-05/0.104, allocations: 11.44 kB / 0.5499 GB, free: 15 MB / 382.1 MB Notification: Performance of SimCode: time 2.9e-07/0.104, allocations: 0 / 0.5499 GB, free: 15 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02264/0.1267, allocations: 1.286 MB / 0.5512 GB, free: 13.84 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.23/11.36, allocations: 7.312 kB / 0.5512 GB, free: 13.84 MB / 382.1 MB " [Timeout remaining time 648] (rm -f HanserModelica_HanserModelica.FirstSteps.Electrical3.pipe ; mkfifo HanserModelica_HanserModelica.FirstSteps.Electrical3.pipe ; head -c 1048576 < HanserModelica_HanserModelica.FirstSteps.Electrical3.pipe >> ../files/HanserModelica_HanserModelica.FirstSteps.Electrical3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HanserModelica_HanserModelica_FirstSteps_Electrical3_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 HanserModelica_HanserModelica_FirstSteps_Electrical3.fmu > HanserModelica_HanserModelica.FirstSteps.Electrical3.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.45434584992472] Failed to read output from testmodel.py, exit status != 0: 11.517641737009399 11.809897578 11.440923096 Calling exit ...