Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.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.0008983/0.0008983, allocations: 109.9 kB / 18.93 MB, free: 1.27 MB / 13.93 MB " [Timeout remaining time 180] 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.0009013/0.0009013, allocations: 214.6 kB / 22.26 MB, free: 3.852 MB / 13.93 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 0.9569/0.9569, allocations: 230.6 MB / 256 MB, free: 3.441 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo): time 0.03758/0.03758, allocations: 12.2 MB / 324.6 MB, free: 3.438 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0003855/0.0003855, allocations: 32.61 kB / 384.1 MB, free: 45.75 MB / 298.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo): time 1.673/1.673, allocations: 353.8 MB / 0.7787 GB, free: 13.05 MB / 0.5262 GB " [Timeout remaining time 178] Using package AixLib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo) Using package SDF with version 0.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo) Using package Modelica_DeviceDrivers with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/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 Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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(AixLib.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Reals_Validation_IntegratorWithReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Reals_Validation_IntegratorWithReset",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: AixLib requested package Modelica_DeviceDrivers of version 2.1.1. Modelica_DeviceDrivers 2.2.0 is used instead which states that it is fully compatible without conversion script needed. Notification: AixLib 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.00134/0.00134, allocations: 119.8 kB / 1.06 GB, free: 9.859 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2329/0.2342, allocations: 134.9 MB / 1.192 GB, free: 3.039 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset): time 0.001628/0.2359, allocations: 0.8791 MB / 1.193 GB, free: 2.164 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001234/0.2371, allocations: 1.229 MB / 1.194 GB, free: 0.9219 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.432e-05/0.2371, allocations: 0 / 1.194 GB, free: 0.9219 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 3.266e-05/0.2372, allocations: 11.86 kB / 1.194 GB, free: 0.9102 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 6.712e-05/0.2372, allocations: 15.81 kB / 1.194 GB, free: 0.8945 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004172/0.2377, allocations: 155.2 kB / 1.194 GB, free: 0.7461 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0001745/0.2378, allocations: 163.7 kB / 1.194 GB, free: 0.5859 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001164/0.2379, allocations: 37.28 kB / 1.194 GB, free: 0.5469 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 9.251e-05/0.238, allocations: 67.72 kB / 1.194 GB, free: 492 kB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001597/0.2382, allocations: 71.72 kB / 1.194 GB, free: 420 kB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 2.185e-05/0.2382, allocations: 16 kB / 1.194 GB, free: 404 kB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 5.891e-05/0.2383, allocations: 27.98 kB / 1.194 GB, free: 376 kB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 2.469e-05/0.2383, allocations: 23.92 kB / 1.194 GB, free: 352 kB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 6.189e-05/0.2384, allocations: 67.7 kB / 1.194 GB, free: 284 kB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.000174/0.2385, allocations: 171.6 kB / 1.195 GB, free: 112 kB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.2385, allocations: 4 kB / 1.195 GB, free: 108 kB / 0.823 GB Notification: Performance of FrontEnd: time 2.345e-06/0.2385, allocations: 0 / 1.195 GB, free: 108 kB / 0.823 GB Notification: Performance of Transformations before backend: time 6.181e-06/0.2386, allocations: 0 / 1.195 GB, free: 108 kB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0005257/0.2391, allocations: 419.9 kB / 1.195 GB, free: 15.65 MB / 0.8387 GB Notification: Performance of prepare preOptimizeDAE: time 3.583e-05/0.2391, allocations: 11.98 kB / 1.195 GB, free: 15.64 MB / 0.8387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.724e-05/0.2391, allocations: 38.75 kB / 1.195 GB, free: 15.59 MB / 0.8387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.007e-05/0.2392, allocations: 16.88 kB / 1.195 GB, free: 15.57 MB / 0.8387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003877/0.2396, allocations: 194.3 kB / 1.195 GB, free: 15.36 MB / 0.8387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.425e-05/0.2396, allocations: 12.38 kB / 1.195 GB, free: 15.35 MB / 0.8387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.649e-05/0.2396, allocations: 12.38 kB / 1.195 GB, free: 15.34 MB / 0.8387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001381/0.2398, allocations: 89.95 kB / 1.195 GB, free: 15.24 MB / 0.8387 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.903e-06/0.2398, allocations: 0 / 1.195 GB, free: 15.24 MB / 0.8387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.055e-05/0.2398, allocations: 4 kB / 1.195 GB, free: 15.24 MB / 0.8387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.787e-06/0.2398, allocations: 0 / 1.195 GB, free: 15.24 MB / 0.8387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.341e-05/0.2399, allocations: 59.88 kB / 1.195 GB, free: 15.18 MB / 0.8387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006112/0.2405, allocations: 355.6 kB / 1.196 GB, free: 14.79 MB / 0.8387 GB Notification: Performance of preOpt comSubExp (simulation): time 7.572e-05/0.2406, allocations: 38.5 kB / 1.196 GB, free: 14.74 MB / 0.8387 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.708e-05/0.2406, allocations: 32.95 kB / 1.196 GB, free: 14.71 MB / 0.8387 GB Notification: Performance of preOpt evalFunc (simulation): time 1.637e-05/0.2406, allocations: 0 / 1.196 GB, free: 14.71 MB / 0.8387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001717/0.2408, allocations: 95.34 kB / 1.196 GB, free: 14.6 MB / 0.8387 GB Notification: Performance of pre-optimization done (n=10): time 1.273e-06/0.2408, allocations: 0 / 1.196 GB, free: 14.6 MB / 0.8387 GB Notification: Performance of matching and sorting (n=10): time 0.0002517/0.241, allocations: 137.8 kB / 1.196 GB, free: 14.46 MB / 0.8387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.366e-05/0.2411, allocations: 59.28 kB / 1.196 GB, free: 14.39 MB / 0.8387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.897e-05/0.2412, allocations: 147 kB / 1.196 GB, free: 14.24 MB / 0.8387 GB Notification: Performance of collectPreVariables (initialization): time 1.933e-05/0.2412, allocations: 29.8 kB / 1.196 GB, free: 14.2 MB / 0.8387 GB Notification: Performance of collectInitialEqns (initialization): time 5.374e-05/0.2412, allocations: 116 kB / 1.196 GB, free: 14.09 MB / 0.8387 GB Notification: Performance of collectInitialBindings (initialization): time 1.849e-05/0.2413, allocations: 27.81 kB / 1.196 GB, free: 14.06 MB / 0.8387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.929e-05/0.2413, allocations: 45.69 kB / 1.197 GB, free: 14.01 MB / 0.8387 GB Notification: Performance of setup shared object (initialization): time 7.568e-05/0.2414, allocations: 322.8 kB / 1.197 GB, free: 13.68 MB / 0.8387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.131e-05/0.2415, allocations: 51.95 kB / 1.197 GB, free: 13.63 MB / 0.8387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001341/0.2416, allocations: 123.1 kB / 1.197 GB, free: 13.47 MB / 0.8387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001887/0.2418, allocations: 204.6 kB / 1.197 GB, free: 13.23 MB / 0.8387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.2418, allocations: 0 / 1.197 GB, free: 13.23 MB / 0.8387 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.00027/0.2421, allocations: 246.9 kB / 1.197 GB, free: 12.97 MB / 0.8387 GB Notification: Performance of prepare postOptimizeDAE: time 2.763e-05/0.2421, allocations: 37.69 kB / 1.197 GB, free: 12.93 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/0.2421, allocations: 4 kB / 1.197 GB, free: 12.93 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.2421, allocations: 4 kB / 1.197 GB, free: 12.92 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.996e-05/0.2422, allocations: 28.23 kB / 1.197 GB, free: 12.89 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.234e-06/0.2422, allocations: 12 kB / 1.197 GB, free: 12.88 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001064/0.2423, allocations: 47.84 kB / 1.198 GB, free: 12.84 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.407e-05/0.2423, allocations: 11.94 kB / 1.198 GB, free: 12.82 MB / 0.8387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 7 (booleanPulse.y,$PRE.booleanPulse.y,$whenCondition4,$whenCondition1,$whenCondition2,sampleTrigger.y,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 1 * 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 7.376e-05/0.2424, allocations: 129.8 kB / 1.198 GB, free: 12.69 MB / 0.8387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.021e-05/0.2424, allocations: 11.95 kB / 1.198 GB, free: 12.68 MB / 0.8387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.659e-05/0.2424, allocations: 12.72 kB / 1.198 GB, free: 12.66 MB / 0.8387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.2424, allocations: 11.94 kB / 1.198 GB, free: 12.65 MB / 0.8387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.2424, allocations: 0 / 1.198 GB, free: 12.65 MB / 0.8387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.2424, allocations: 0 / 1.198 GB, free: 12.65 MB / 0.8387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003794/0.2428, allocations: 373.4 kB / 1.198 GB, free: 12.24 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.2428, allocations: 0 / 1.198 GB, free: 12.24 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.429e-05/0.2429, allocations: 15.92 kB / 1.198 GB, free: 12.22 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.2429, allocations: 4 kB / 1.198 GB, free: 12.22 MB / 0.8387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.835e-06/0.2429, allocations: 4 kB / 1.198 GB, free: 12.21 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.2429, allocations: 0 / 1.198 GB, free: 12.21 MB / 0.8387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.2429, allocations: 0 / 1.198 GB, free: 12.21 MB / 0.8387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002199/0.2431, allocations: 247.4 kB / 1.198 GB, free: 11.96 MB / 0.8387 GB Notification: Performance of postOpt removeConstants (simulation): time 1.1e-05/0.2431, allocations: 15.84 kB / 1.198 GB, free: 11.94 MB / 0.8387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.214e-05/0.2431, allocations: 0 / 1.198 GB, free: 11.94 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.201e-05/0.2432, allocations: 12.03 kB / 1.198 GB, free: 11.93 MB / 0.8387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.459e-05/0.2432, allocations: 11.98 kB / 1.198 GB, free: 11.92 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.303e-06/0.2432, allocations: 4 kB / 1.198 GB, free: 11.91 MB / 0.8387 GB Notification: Performance of sorting global known variables: time 4.325e-05/0.2432, allocations: 105.2 kB / 1.198 GB, free: 11.81 MB / 0.8387 GB Notification: Performance of sort global known variables: time 5e-08/0.2432, allocations: 0 / 1.198 GB, free: 11.81 MB / 0.8387 GB Notification: Performance of remove unused functions: time 0.0001914/0.2434, allocations: 31.98 kB / 1.199 GB, free: 11.78 MB / 0.8387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (intWitRes2.y,intWitRes1.y,intDef.y) * Number of discrete variables: 6 (sampleTrigger.y,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,booleanPulse.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0005425/0.244, allocations: 0.7837 MB / 1.199 GB, free: 10.97 MB / 0.8387 GB Notification: Performance of simCode: created initialization part: time 0.0002299/0.2442, allocations: 167.9 kB / 1.199 GB, free: 10.8 MB / 0.8387 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.2442, allocations: 4.062 kB / 1.199 GB, free: 10.79 MB / 0.8387 GB Notification: Performance of simCode: created simulation system equations: time 5.914e-05/0.2443, allocations: 35.91 kB / 1.199 GB, free: 10.76 MB / 0.8387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002048/0.2445, allocations: 15.98 kB / 1.199 GB, free: 10.74 MB / 0.8387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001645/0.2461, allocations: 1.972 MB / 1.201 GB, free: 8.609 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002456/0.2464, allocations: 0.7165 MB / 1.202 GB, free: 7.867 MB / 0.8387 GB Notification: Performance of simCode: alias equations: time 4.318e-05/0.2464, allocations: 8.656 kB / 1.202 GB, free: 7.859 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.569e-05/0.2464, allocations: 43.42 kB / 1.202 GB, free: 7.816 MB / 0.8387 GB Notification: Performance of SimCode: time 5.71e-07/0.2464, allocations: 0 / 1.202 GB, free: 7.816 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01693/0.2634, allocations: 3.34 MB / 1.205 GB, free: 4.641 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.468/6.732, allocations: 6.031 kB / 1.205 GB, free: 4.641 MB / 0.8387 GB " [Timeout remaining time 653] (rm -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AixLib_AixLib_Controls_OBC_CDL_Reals_Validation_IntegratorWithReset_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 AixLib_AixLib_Controls_OBC_CDL_Reals_Validation_IntegratorWithReset.fmu > AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.003620818257332] Failed to read output from testmodel.py, exit status != 0: 6.808328348211944 6.816904157 6.576534199 Calling exit ...