Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.IntegratorWithReset.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.001301/0.001301, allocations: 105.8 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] 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.00131/0.00131, allocations: 187.7 kB / 19.4 MB, free: 3.66 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.443/1.443, allocations: 225.6 MB / 247.8 MB, free: 3.727 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8734/0.8734, allocations: 133.9 MB / 436.6 MB, free: 13.93 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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(IDEAS.Utilities.Math.Examples.IntegratorWithReset,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_IntegratorWithReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.IntegratorWithReset,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_IntegratorWithReset",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00221/0.00221, allocations: 68.08 kB / 0.6051 GB, free: 8.355 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.377/0.3792, allocations: 84.67 MB / 0.6878 GB, free: 1.82 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.IntegratorWithReset): time 0.003043/0.3822, allocations: 1.823 MB / 0.6896 GB, free: 392 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009928/0.3832, allocations: 0.551 MB / 0.6901 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001171/0.3833, allocations: 6.469 kB / 0.6901 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001574/0.3835, allocations: 21.11 kB / 0.6901 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 9.306e-05/0.3836, allocations: 34.28 kB / 0.6902 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002366/0.3838, allocations: 69.92 kB / 0.6902 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0002835/0.3841, allocations: 162.7 kB / 0.6904 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001576/0.3843, allocations: 45.17 kB / 0.6904 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 8.863e-05/0.3844, allocations: 55.03 kB / 0.6905 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 8.797e-05/0.3845, allocations: 60.92 kB / 0.6906 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.648e-05/0.3845, allocations: 14.31 kB / 0.6906 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 1.929e-05/0.3845, allocations: 10.44 kB / 0.6906 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 3.463e-05/0.3845, allocations: 32.05 kB / 0.6906 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 7.515e-05/0.3846, allocations: 70.8 kB / 0.6907 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001956/0.3848, allocations: 130.3 kB / 0.6908 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.3848, allocations: 0 / 0.6908 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.613e-06/0.3848, allocations: 0 / 0.6908 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.79e-06/0.3848, allocations: 1.031 kB / 0.6908 GB, free: 15.44 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0008063/0.3856, allocations: 476.3 kB / 0.6913 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/0.3857, allocations: 13.94 kB / 0.6913 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.018e-05/0.3857, allocations: 41.95 kB / 0.6913 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.712e-05/0.3858, allocations: 22.11 kB / 0.6913 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003635/0.3861, allocations: 236.4 kB / 0.6916 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.617e-05/0.3861, allocations: 9.469 kB / 0.6916 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.331e-05/0.3862, allocations: 11.22 kB / 0.6916 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003007/0.3865, allocations: 154 kB / 0.6917 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.3865, allocations: 1.062 kB / 0.6917 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.744e-05/0.3865, allocations: 8.984 kB / 0.6917 GB, free: 14.53 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.076e-06/0.3865, allocations: 3.25 kB / 0.6917 GB, free: 14.53 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000227/0.3867, allocations: 70.17 kB / 0.6918 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001027/0.3878, allocations: 0.7385 MB / 0.6925 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000152/0.3879, allocations: 47.89 kB / 0.6926 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001025/0.388, allocations: 31.72 kB / 0.6926 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.385e-05/0.388, allocations: 1.156 kB / 0.6926 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002519/0.3883, allocations: 136.1 kB / 0.6927 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=11): time 1.292e-06/0.3883, allocations: 0 / 0.6927 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of matching and sorting (n=11): time 0.0004884/0.3888, allocations: 169 kB / 0.6929 GB, free: 13.49 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.992e-05/0.3889, allocations: 131.4 kB / 0.693 GB, free: 13.33 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001914/0.3891, allocations: 200.3 kB / 0.6932 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.419e-05/0.3891, allocations: 30.86 kB / 0.6932 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 9.653e-05/0.3892, allocations: 135.7 kB / 0.6934 GB, free: 13.01 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.075e-05/0.3892, allocations: 41.38 kB / 0.6934 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.421e-05/0.3893, allocations: 40.02 kB / 0.6934 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001452/0.3894, allocations: 330.9 kB / 0.6938 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001216/0.3896, allocations: 37.59 kB / 0.6938 GB, free: 12.6 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001972/0.3898, allocations: 148.9 kB / 0.6939 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003242/0.3901, allocations: 196.6 kB / 0.6941 GB, free: 12.24 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/0.3901, allocations: 6 kB / 0.6941 GB, free: 12.24 MB / 0.5137 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003995/0.3905, allocations: 209.8 kB / 0.6943 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.3905, allocations: 11.66 kB / 0.6943 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.3905, allocations: 3.75 kB / 0.6943 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.803e-05/0.3905, allocations: 4.75 kB / 0.6943 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001276/0.3906, allocations: 40.41 kB / 0.6944 GB, free: 12.1 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.161e-05/0.3907, allocations: 8.188 kB / 0.6944 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001433/0.3908, allocations: 28.12 kB / 0.6944 GB, free: 12.08 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.331e-05/0.3908, allocations: 8.5 kB / 0.6944 GB, free: 12.08 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 9 (sampleTrigger.y,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,$whenCondition3,intDef.trigger_internal,intNoReset.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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.0001234/0.3909, allocations: 147.9 kB / 0.6946 GB, free: 11.94 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.004e-05/0.391, allocations: 16.25 kB / 0.6946 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.605e-05/0.391, allocations: 22.8 kB / 0.6946 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.125e-06/0.391, allocations: 2.188 kB / 0.6946 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.774e-06/0.3911, allocations: 5.062 kB / 0.6946 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.3911, allocations: 1.188 kB / 0.6946 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009041/0.392, allocations: 0.5151 MB / 0.6951 GB, free: 11.42 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.392, allocations: 1.125 kB / 0.6951 GB, free: 11.42 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001144/0.3921, allocations: 15.73 kB / 0.6951 GB, free: 11.42 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.3921, allocations: 1.281 kB / 0.6951 GB, free: 11.42 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.604e-05/0.3921, allocations: 6.375 kB / 0.6951 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.901e-06/0.3921, allocations: 9.062 kB / 0.6952 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.3921, allocations: 5.078 kB / 0.6952 GB, free: 11.4 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005143/0.3926, allocations: 354.2 kB / 0.6955 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 7.2e-05/0.3927, allocations: 90.3 kB / 0.6956 GB, free: 11.01 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.78e-05/0.3927, allocations: 9.062 kB / 0.6956 GB, free: 11 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001735/0.3929, allocations: 15.8 kB / 0.6956 GB, free: 11 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.38e-05/0.393, allocations: 21.45 kB / 0.6956 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.063e-05/0.393, allocations: 4.469 kB / 0.6956 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001304/0.3931, allocations: 138.1 kB / 0.6958 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8e-08/0.3931, allocations: 0 / 0.6958 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003404/0.3934, allocations: 30.89 kB / 0.6958 GB, free: 10.87 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (intWitRes2.y,intWitRes1.y,intNoReset.y,intDef.y) * Number of discrete variables: 6 (booleanPulse.y,$whenCondition3,$whenCondition1,booleanPulse.pulseStart,sampleTrigger.y,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * 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.0009108/0.3943, allocations: 0.8905 MB / 0.6967 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003372/0.3947, allocations: 114.3 kB / 0.6968 GB, free: 9.996 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.3947, allocations: 1.188 kB / 0.6968 GB, free: 9.996 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001395/0.3948, allocations: 50.84 kB / 0.6968 GB, free: 9.973 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005946/0.3954, allocations: 77.88 kB / 0.6969 GB, free: 9.938 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002923/0.3983, allocations: 2.275 MB / 0.6991 GB, free: 7.938 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004086/0.3987, allocations: 0.7211 MB / 0.6998 GB, free: 7.223 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 8.7e-05/0.3988, allocations: 19.38 kB / 0.6998 GB, free: 7.211 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.28e-05/0.3989, allocations: 49.8 kB / 0.6999 GB, free: 7.172 MB / 0.5137 GB Notification: Performance of SimCode: time 5.41e-07/0.3989, allocations: 0 / 0.6999 GB, free: 7.172 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0381/0.437, allocations: 4.031 MB / 0.7038 GB, free: 5.164 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.122/8.559, allocations: 11.94 kB / 0.7038 GB, free: 5.152 MB / 0.5137 GB " [Timeout remaining time 651] (rm -f IDEAS_IDEAS.Utilities.Math.Examples.IntegratorWithReset.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.IntegratorWithReset.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.IntegratorWithReset.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.IntegratorWithReset.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Examples_IntegratorWithReset_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Examples_IntegratorWithReset.fmu > IDEAS_IDEAS.Utilities.Math.Examples.IntegratorWithReset.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.989468840882182] Failed to read output from testmodel.py, exit status != 0: 8.627054538112134 8.640283343 8.252602527 Calling exit ...