Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.FirstSteps.Electrical1.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.001364/0.001364, allocations: 107.6 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.456/1.456, allocations: 225.6 MB / 244.8 MB, free: 14.17 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.001447/0.001447, allocations: 190.6 kB / 299.8 MB, free: 9.844 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.08559/0.08559, allocations: 8.927 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.FirstSteps.Electrical1,fileNamePrefix="HanserModelica_HanserModelica_FirstSteps_Electrical1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.FirstSteps.Electrical1,fileNamePrefix="HanserModelica_HanserModelica_FirstSteps_Electrical1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002372/0.002372, allocations: 84.7 kB / 486 MB, free: 11.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09839/0.1008, allocations: 54.41 MB / 0.5278 GB, free: 1.281 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical1): time 0.00165/0.1024, allocations: 0.4891 MB / 0.5283 GB, free: 0.7891 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001348/0.1025, allocations: 19.89 kB / 0.5283 GB, free: 0.7695 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.582e-05/0.1026, allocations: 0 / 0.5283 GB, free: 0.7695 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.565e-05/0.1026, allocations: 7.938 kB / 0.5283 GB, free: 0.7617 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 3.397e-05/0.1026, allocations: 4 kB / 0.5283 GB, free: 0.7578 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001435/0.1028, allocations: 4 kB / 0.5283 GB, free: 0.7539 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 5.64e-05/0.1028, allocations: 4 kB / 0.5283 GB, free: 0.75 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.23e-05/0.1029, allocations: 3.984 kB / 0.5283 GB, free: 0.7461 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.02e-05/0.1029, allocations: 11.94 kB / 0.5283 GB, free: 0.7344 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.342e-05/0.1029, allocations: 3.984 kB / 0.5283 GB, free: 0.7305 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.473e-05/0.1029, allocations: 7.938 kB / 0.5283 GB, free: 0.7227 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.713e-06/0.103, allocations: 0 / 0.5283 GB, free: 0.7227 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.635e-05/0.103, allocations: 3.938 kB / 0.5283 GB, free: 0.7188 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 1.889e-05/0.103, allocations: 0 / 0.5283 GB, free: 0.7188 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 5.945e-05/0.1031, allocations: 19.92 kB / 0.5283 GB, free: 0.6992 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.1031, allocations: 0 / 0.5283 GB, free: 0.6992 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.1031, allocations: 3.938 kB / 0.5283 GB, free: 0.6953 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.387e-06/0.1031, allocations: 0 / 0.5283 GB, free: 0.6953 MB / 334.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.0004477/0.1035, allocations: 323.8 kB / 0.5287 GB, free: 340 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/0.1036, allocations: 8.031 kB / 0.5287 GB, free: 332 kB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.966e-05/0.1036, allocations: 38.75 kB / 0.5287 GB, free: 284 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.067e-05/0.1036, allocations: 0.9375 kB / 0.5287 GB, free: 284 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000137/0.1037, allocations: 172.3 kB / 0.5289 GB, free: 72 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.171e-05/0.1038, allocations: 4.375 kB / 0.5289 GB, free: 68 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.141e-05/0.1038, allocations: 4.375 kB / 0.5289 GB, free: 64 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.915e-05/0.1039, allocations: 34.27 kB / 0.5289 GB, free: 24 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.1039, allocations: 7.922 kB / 0.5289 GB, free: 16 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.623e-06/0.1039, allocations: 0 / 0.5289 GB, free: 16 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.007e-06/0.1039, allocations: 0 / 0.5289 GB, free: 16 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.349e-05/0.1039, allocations: 11.92 kB / 0.5289 GB, free: 4 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003036/0.1042, allocations: 153.7 kB / 0.5291 GB, free: 15.8 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.682e-05/0.1043, allocations: 34.58 kB / 0.5291 GB, free: 15.76 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.46e-05/0.1043, allocations: 20.94 kB / 0.5291 GB, free: 15.74 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.948e-06/0.1044, allocations: 0 / 0.5291 GB, free: 15.74 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.728e-05/0.1044, allocations: 30.56 kB / 0.5292 GB, free: 15.7 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 7.82e-07/0.1044, allocations: 0 / 0.5292 GB, free: 15.7 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001445/0.1045, allocations: 53.56 kB / 0.5292 GB, free: 15.64 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.709e-05/0.1046, allocations: 51.41 kB / 0.5293 GB, free: 15.58 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.416e-05/0.1046, allocations: 101.9 kB / 0.5294 GB, free: 15.47 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.842e-05/0.1047, allocations: 25.7 kB / 0.5294 GB, free: 15.44 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.269e-05/0.1047, allocations: 88.08 kB / 0.5295 GB, free: 15.35 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.018e-05/0.1047, allocations: 19.88 kB / 0.5295 GB, free: 15.33 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.248e-05/0.1048, allocations: 13.72 kB / 0.5295 GB, free: 15.31 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001404/0.1049, allocations: 314.8 kB / 0.5298 GB, free: 14.99 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.837e-05/0.1049, allocations: 4 kB / 0.5298 GB, free: 14.99 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.464e-05/0.1049, allocations: 7.984 kB / 0.5298 GB, free: 14.98 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.839e-05/0.105, allocations: 24.8 kB / 0.5298 GB, free: 14.95 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.105, allocations: 0 / 0.5298 GB, free: 14.95 MB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.445e-05/0.1051, allocations: 49.69 kB / 0.5299 GB, free: 14.9 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.1051, allocations: 7.938 kB / 0.5299 GB, free: 14.89 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.1051, allocations: 4 kB / 0.5299 GB, free: 14.89 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.1051, allocations: 0 / 0.5299 GB, free: 14.89 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.664e-05/0.1052, allocations: 8 kB / 0.5299 GB, free: 14.88 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.1052, allocations: 0 / 0.5299 GB, free: 14.88 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.5e-05/0.1052, allocations: 0 / 0.5299 GB, free: 14.88 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.317e-06/0.1052, allocations: 0 / 0.5299 GB, free: 14.88 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 (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.373e-05/0.1053, allocations: 113.8 kB / 0.53 GB, free: 14.76 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.314e-05/0.1053, allocations: 8.438 kB / 0.53 GB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.083e-05/0.1053, allocations: 11.44 kB / 0.53 GB, free: 14.73 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-06/0.1053, allocations: 0 / 0.53 GB, free: 14.73 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.1053, allocations: 3.938 kB / 0.53 GB, free: 14.73 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.1053, allocations: 3.984 kB / 0.53 GB, free: 14.73 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001247/0.1055, allocations: 161.7 kB / 0.5302 GB, free: 14.52 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.1055, allocations: 0 / 0.5302 GB, free: 14.52 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.242e-05/0.1055, allocations: 4 kB / 0.5302 GB, free: 14.52 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.961e-06/0.1055, allocations: 7.938 kB / 0.5302 GB, free: 14.51 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.713e-06/0.1055, allocations: 4 kB / 0.5302 GB, free: 14.5 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.51e-07/0.1055, allocations: 0 / 0.5302 GB, free: 14.5 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.1055, allocations: 0 / 0.5302 GB, free: 14.5 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001599/0.1057, allocations: 81.06 kB / 0.5303 GB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.066e-05/0.1057, allocations: 77.11 kB / 0.5303 GB, free: 14.31 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.284e-05/0.1057, allocations: 3.938 kB / 0.5304 GB, free: 14.31 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.57e-05/0.1058, allocations: 4.031 kB / 0.5304 GB, free: 14.3 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.875e-05/0.1058, allocations: 4.062 kB / 0.5304 GB, free: 14.3 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.164e-06/0.1058, allocations: 0 / 0.5304 GB, free: 14.3 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.048e-05/0.1058, allocations: 87.2 kB / 0.5304 GB, free: 14.21 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1058, allocations: 3.938 kB / 0.5304 GB, free: 14.21 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0001765/0.106, allocations: 4 kB / 0.5305 GB, free: 14.21 MB / 350.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.0005256/0.1065, allocations: 0.6047 MB / 0.531 GB, free: 13.57 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 9.124e-05/0.1066, allocations: 19.92 kB / 0.5311 GB, free: 13.55 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.071e-06/0.1066, allocations: 0 / 0.5311 GB, free: 13.55 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.786e-05/0.1066, allocations: 12 kB / 0.5311 GB, free: 13.54 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001394/0.1068, allocations: 2.5 kB / 0.5311 GB, free: 13.54 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00109/0.1079, allocations: 1.114 MB / 0.5322 GB, free: 12.34 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000331/0.1082, allocations: 0.6844 MB / 0.5328 GB, free: 11.63 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.854e-05/0.1082, allocations: 0 / 0.5328 GB, free: 11.63 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.027e-05/0.1083, allocations: 11.44 kB / 0.5328 GB, free: 11.62 MB / 350.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1083, allocations: 0 / 0.5328 GB, free: 11.62 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02518/0.1334, allocations: 1.094 MB / 0.5339 GB, free: 10.6 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.911/8.044, allocations: 11.92 kB / 0.5339 GB, free: 10.59 MB / 350.1 MB " [Timeout remaining time 652] (rm -f HanserModelica_HanserModelica.FirstSteps.Electrical1.pipe ; mkfifo HanserModelica_HanserModelica.FirstSteps.Electrical1.pipe ; head -c 1048576 < HanserModelica_HanserModelica.FirstSteps.Electrical1.pipe >> ../files/HanserModelica_HanserModelica.FirstSteps.Electrical1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HanserModelica_HanserModelica_FirstSteps_Electrical1_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 HanserModelica_HanserModelica_FirstSteps_Electrical1.fmu > HanserModelica_HanserModelica.FirstSteps.Electrical1.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.893832612782717] Failed to read output from testmodel.py, exit status != 0: 8.30941787501797 8.142287502 8.034089737 Calling exit ...