Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.FirstSteps.Electrical2.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.001299/0.001299, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.502/1.502, allocations: 230.6 MB / 252.7 MB, free: 14.27 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.001553/0.001553, allocations: 217.2 kB / 309.2 MB, free: 3.117 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.04077/0.04077, allocations: 8.923 MB / 374.6 MB, free: 6.594 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.Electrical2,fileNamePrefix="HanserModelica_HanserModelica_FirstSteps_Electrical2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.FirstSteps.Electrical2,fileNamePrefix="HanserModelica_HanserModelica_FirstSteps_Electrical2",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.00258/0.00258, allocations: 87.88 kB / 0.4891 GB, free: 44.78 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1163/0.1189, allocations: 55.6 MB / 0.5434 GB, free: 5.074 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical2): time 0.002038/0.1209, allocations: 0.4973 MB / 0.5439 GB, free: 4.574 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001596/0.1211, allocations: 27.83 kB / 0.5439 GB, free: 4.547 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.538e-05/0.1211, allocations: 0 / 0.5439 GB, free: 4.547 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.574e-05/0.1211, allocations: 0 / 0.5439 GB, free: 4.547 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 5.542e-05/0.1212, allocations: 7.938 kB / 0.5439 GB, free: 4.539 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001197/0.1213, allocations: 4 kB / 0.544 GB, free: 4.535 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 7.073e-05/0.1214, allocations: 15.92 kB / 0.544 GB, free: 4.52 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.413e-05/0.1214, allocations: 0 / 0.544 GB, free: 4.52 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.993e-05/0.1214, allocations: 15.88 kB / 0.544 GB, free: 4.504 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.937e-05/0.1215, allocations: 7.984 kB / 0.544 GB, free: 4.496 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.756e-05/0.1215, allocations: 4 kB / 0.544 GB, free: 4.492 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.252e-05/0.1215, allocations: 0 / 0.544 GB, free: 4.492 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.597e-05/0.1216, allocations: 7.922 kB / 0.544 GB, free: 4.484 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.295e-05/0.1216, allocations: 4 kB / 0.544 GB, free: 4.48 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 9.303e-05/0.1217, allocations: 12.16 kB / 0.544 GB, free: 4.469 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.1217, allocations: 0 / 0.544 GB, free: 4.469 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.367e-06/0.1217, allocations: 0 / 0.544 GB, free: 4.469 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.734e-06/0.1217, allocations: 0 / 0.544 GB, free: 4.469 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.0005261/0.1222, allocations: 250.4 kB / 0.5443 GB, free: 4.191 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.649e-05/0.1223, allocations: 11.98 kB / 0.5443 GB, free: 4.18 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.256e-05/0.1224, allocations: 30.75 kB / 0.5443 GB, free: 4.141 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.403e-05/0.1224, allocations: 12.89 kB / 0.5443 GB, free: 4.129 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001418/0.1225, allocations: 110.5 kB / 0.5444 GB, free: 3.996 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.708e-05/0.1226, allocations: 384 / 0.5444 GB, free: 3.996 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.012e-05/0.1226, allocations: 4.375 kB / 0.5444 GB, free: 3.992 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001321/0.1227, allocations: 30.27 kB / 0.5444 GB, free: 3.957 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.1227, allocations: 3.938 kB / 0.5445 GB, free: 3.953 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.506e-05/0.1227, allocations: 4 kB / 0.5445 GB, free: 3.949 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/0.1227, allocations: 7.922 kB / 0.5445 GB, free: 3.941 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.77e-05/0.1228, allocations: 7.984 kB / 0.5445 GB, free: 3.934 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002517/0.123, allocations: 120.8 kB / 0.5446 GB, free: 3.773 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.991e-05/0.1231, allocations: 42.61 kB / 0.5446 GB, free: 3.723 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.067e-05/0.1232, allocations: 12.86 kB / 0.5446 GB, free: 3.707 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.401e-05/0.1232, allocations: 0 / 0.5446 GB, free: 3.707 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.551e-05/0.1232, allocations: 34.64 kB / 0.5447 GB, free: 3.664 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 8.72e-07/0.1232, allocations: 3.938 kB / 0.5447 GB, free: 3.66 MB / 366.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001985/0.1234, allocations: 49.64 kB / 0.5447 GB, free: 3.605 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.311e-05/0.1235, allocations: 55.39 kB / 0.5448 GB, free: 3.539 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001048/0.1236, allocations: 97.86 kB / 0.5449 GB, free: 3.434 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.491e-05/0.1236, allocations: 25.7 kB / 0.5449 GB, free: 3.402 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.624e-05/0.1237, allocations: 80.14 kB / 0.545 GB, free: 3.32 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.086e-05/0.1237, allocations: 27.83 kB / 0.545 GB, free: 3.293 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.566e-05/0.1238, allocations: 13.7 kB / 0.545 GB, free: 3.273 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001663/0.1239, allocations: 322.8 kB / 0.5453 GB, free: 2.949 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.846e-05/0.124, allocations: 4 kB / 0.5453 GB, free: 2.945 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.19e-05/0.124, allocations: 3.938 kB / 0.5453 GB, free: 2.941 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.245e-05/0.124, allocations: 28.78 kB / 0.5454 GB, free: 2.91 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.124, allocations: 0 / 0.5454 GB, free: 2.91 MB / 366.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.909e-05/0.1241, allocations: 41.7 kB / 0.5454 GB, free: 2.863 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.278e-05/0.1241, allocations: 11.92 kB / 0.5454 GB, free: 2.852 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.952e-06/0.1241, allocations: 0 / 0.5454 GB, free: 2.852 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.763e-05/0.1241, allocations: 0 / 0.5454 GB, free: 2.852 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001169/0.1243, allocations: 16 kB / 0.5454 GB, free: 2.836 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.131e-06/0.1243, allocations: 0 / 0.5454 GB, free: 2.836 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.99e-05/0.1243, allocations: 4 kB / 0.5454 GB, free: 2.832 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.429e-06/0.1243, allocations: 0 / 0.5454 GB, free: 2.832 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 0.0001009/0.1244, allocations: 105.8 kB / 0.5455 GB, free: 2.719 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.426e-05/0.1244, allocations: 11.89 kB / 0.5455 GB, free: 2.707 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.089e-05/0.1244, allocations: 15.61 kB / 0.5455 GB, free: 2.691 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.1244, allocations: 0.5156 kB / 0.5455 GB, free: 2.691 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.1245, allocations: 0 / 0.5455 GB, free: 2.691 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.1245, allocations: 0 / 0.5455 GB, free: 2.691 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001417/0.1246, allocations: 124.8 kB / 0.5457 GB, free: 2.527 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.1246, allocations: 4 kB / 0.5457 GB, free: 2.523 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.65e-05/0.1247, allocations: 11.98 kB / 0.5457 GB, free: 2.512 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.1247, allocations: 3.938 kB / 0.5457 GB, free: 2.508 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.339e-05/0.1247, allocations: 7.984 kB / 0.5457 GB, free: 2.5 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.1247, allocations: 0 / 0.5457 GB, free: 2.5 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.1247, allocations: 0 / 0.5457 GB, free: 2.5 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001668/0.1249, allocations: 73.12 kB / 0.5458 GB, free: 2.41 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.055e-05/0.1249, allocations: 4.031 kB / 0.5458 GB, free: 2.406 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.709e-05/0.1249, allocations: 3.938 kB / 0.5458 GB, free: 2.402 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.92e-05/0.1249, allocations: 3.984 kB / 0.5458 GB, free: 2.398 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.593e-05/0.1249, allocations: 4.062 kB / 0.5458 GB, free: 2.395 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.224e-06/0.1249, allocations: 3.938 kB / 0.5458 GB, free: 2.391 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.746e-05/0.125, allocations: 79.28 kB / 0.5459 GB, free: 2.312 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.125, allocations: 0 / 0.5459 GB, free: 2.312 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0001897/0.1252, allocations: 8 kB / 0.5459 GB, free: 2.305 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.0004829/0.1257, allocations: 0.6124 MB / 0.5465 GB, free: 1.66 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 9.019e-05/0.1258, allocations: 11.94 kB / 0.5465 GB, free: 1.648 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.1258, allocations: 0 / 0.5465 GB, free: 1.648 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.819e-05/0.1258, allocations: 15.92 kB / 0.5465 GB, free: 1.633 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001695/0.1259, allocations: 12 kB / 0.5465 GB, free: 1.621 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001357/0.1273, allocations: 1.17 MB / 0.5476 GB, free: 380 kB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.73e-05/0.1274, allocations: 59.34 kB / 0.5477 GB, free: 300 kB / 366.1 MB Notification: Performance of simCode: alias equations: time 1.816e-05/0.1274, allocations: 4 kB / 0.5477 GB, free: 296 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.19e-05/0.1274, allocations: 11.44 kB / 0.5477 GB, free: 284 kB / 366.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1274, allocations: 0 / 0.5477 GB, free: 284 kB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03441/0.1618, allocations: 1.63 MB / 0.5493 GB, free: 14.75 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.1/11.26, allocations: 3.938 kB / 0.5493 GB, free: 14.75 MB / 382.1 MB " [Timeout remaining time 649] (rm -f HanserModelica_HanserModelica.FirstSteps.Electrical2.pipe ; mkfifo HanserModelica_HanserModelica.FirstSteps.Electrical2.pipe ; head -c 1048576 < HanserModelica_HanserModelica.FirstSteps.Electrical2.pipe >> ../files/HanserModelica_HanserModelica.FirstSteps.Electrical2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HanserModelica_HanserModelica_FirstSteps_Electrical2_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 HanserModelica_HanserModelica_FirstSteps_Electrical2.fmu > HanserModelica_HanserModelica.FirstSteps.Electrical2.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.053073450922966] Failed to read output from testmodel.py, exit status != 0: 11.369648312218487 11.387409105 11.26245186 Calling exit ...