Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.IntegerReplicator.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.0008929/0.0008929, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.001149/0.001149, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 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.9404/0.9404, allocations: 177.1 MB / 202.8 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7262/0.7262, allocations: 154.6 MB / 413.8 MB, free: 0.8086 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.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(IDEAS.Utilities.Math.Examples.IntegerReplicator,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_IntegerReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.IntegerReplicator,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_IntegerReplicator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.034e-06/2.034e-06, allocations: 0 / 0.6181 GB, free: 13.67 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.129e-05/2.332e-05, allocations: 4.812 kB / 0.6181 GB, free: 13.67 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.IntegerReplicator): time 0.002563/0.002586, allocations: 1.781 MB / 0.6199 GB, free: 11.88 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001768/0.004354, allocations: 1.204 MB / 0.621 GB, free: 10.67 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001231/0.004477, allocations: 0 / 0.621 GB, free: 10.67 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.000372/0.004849, allocations: 55.69 kB / 0.6211 GB, free: 10.61 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0003609/0.00521, allocations: 123.4 kB / 0.6212 GB, free: 10.49 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005138/0.005724, allocations: 191.3 kB / 0.6214 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0002214/0.005945, allocations: 167.5 kB / 0.6215 GB, free: 10.14 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001197/0.006065, allocations: 21.56 kB / 0.6216 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001362/0.006201, allocations: 87.73 kB / 0.6216 GB, free: 10.03 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001235/0.006324, allocations: 67.8 kB / 0.6217 GB, free: 9.961 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.01e-05/0.006345, allocations: 4 kB / 0.6217 GB, free: 9.957 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001757/0.00652, allocations: 79.92 kB / 0.6218 GB, free: 9.879 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 9.812e-05/0.006618, allocations: 39.84 kB / 0.6218 GB, free: 9.84 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 6.254e-05/0.006681, allocations: 35.86 kB / 0.6219 GB, free: 9.805 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0003419/0.007023, allocations: 219.2 kB / 0.6221 GB, free: 9.59 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.007028, allocations: 0 / 0.6221 GB, free: 9.59 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.675e-06/0.00703, allocations: 4 kB / 0.6221 GB, free: 9.586 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 9.317e-06/0.00704, allocations: 4 kB / 0.6221 GB, free: 9.582 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0007413/0.007781, allocations: 418.9 kB / 0.6225 GB, free: 9.137 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.538e-05/0.007836, allocations: 12.03 kB / 0.6225 GB, free: 9.125 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.972e-05/0.007876, allocations: 34.75 kB / 0.6225 GB, free: 9.082 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.85e-05/0.007945, allocations: 16.84 kB / 0.6225 GB, free: 9.066 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003817/0.008326, allocations: 193.4 kB / 0.6227 GB, free: 8.852 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.954e-05/0.008346, allocations: 8.312 kB / 0.6227 GB, free: 8.844 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.334e-05/0.008359, allocations: 384 / 0.6227 GB, free: 8.844 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002252/0.008584, allocations: 125.4 kB / 0.6229 GB, free: 8.703 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.629e-06/0.008594, allocations: 3.938 kB / 0.6229 GB, free: 8.699 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.284e-05/0.008607, allocations: 4 kB / 0.6229 GB, free: 8.695 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.208e-05/0.008619, allocations: 0 / 0.6229 GB, free: 8.695 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.188e-05/0.008711, allocations: 43.91 kB / 0.6229 GB, free: 8.652 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005448/0.009256, allocations: 319.8 kB / 0.6232 GB, free: 8.297 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001741/0.00943, allocations: 82.66 kB / 0.6233 GB, free: 8.207 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.082e-05/0.009481, allocations: 36.88 kB / 0.6233 GB, free: 8.168 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.804e-05/0.009499, allocations: 0 / 0.6233 GB, free: 8.168 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001747/0.009673, allocations: 87.31 kB / 0.6234 GB, free: 8.07 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=8): time 1.703e-06/0.009675, allocations: 0 / 0.6234 GB, free: 8.07 MB / 0.5886 GB Notification: Performance of matching and sorting (n=8): time 0.0003356/0.01001, allocations: 145.5 kB / 0.6235 GB, free: 7.922 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.567e-05/0.01007, allocations: 77.11 kB / 0.6236 GB, free: 7.828 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000215/0.01028, allocations: 277.7 kB / 0.6239 GB, free: 7.551 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.719e-05/0.0103, allocations: 29.69 kB / 0.6239 GB, free: 7.516 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 7.037e-05/0.01037, allocations: 120.1 kB / 0.624 GB, free: 7.395 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.505e-05/0.01039, allocations: 15.91 kB / 0.624 GB, free: 7.379 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.148e-05/0.01044, allocations: 25.7 kB / 0.6241 GB, free: 7.348 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 9.476e-05/0.01053, allocations: 338.8 kB / 0.6244 GB, free: 7.008 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.281e-05/0.01058, allocations: 27.98 kB / 0.6244 GB, free: 6.98 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.017e-05/0.01066, allocations: 114.8 kB / 0.6245 GB, free: 6.844 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.533e-05/0.01076, allocations: 77.62 kB / 0.6246 GB, free: 6.762 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.195e-06/0.01076, allocations: 0 / 0.6246 GB, free: 6.762 MB / 0.5886 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001468/0.01091, allocations: 113.6 kB / 0.6247 GB, free: 6.645 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.01092, allocations: 4 kB / 0.6247 GB, free: 6.641 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.164e-06/0.01093, allocations: 4 kB / 0.6247 GB, free: 6.637 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.01094, allocations: 3.984 kB / 0.6247 GB, free: 6.633 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.064e-05/0.01102, allocations: 23.98 kB / 0.6247 GB, free: 6.609 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.191e-06/0.01103, allocations: 0 / 0.6247 GB, free: 6.609 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.483e-05/0.01107, allocations: 11.89 kB / 0.6248 GB, free: 6.598 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.715e-06/0.01108, allocations: 3.984 kB / 0.6248 GB, free: 6.594 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($PRE.intTab.combiTimeTable.nextTimeEvent,$whenCondition1,intRep.y[2],intRep.y[1],intTab.combiTimeTable.nextTimeEventScaled,$PRE.intTab.combiTimeTable.nextTimeEventScaled,intTab.combiTimeTable.nextTimeEvent,intTab.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * Array equations: 1 * 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.0001117/0.01119, allocations: 151.7 kB / 0.6249 GB, free: 6.438 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.996e-05/0.01121, allocations: 15.91 kB / 0.6249 GB, free: 6.422 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002109/0.01142, allocations: 135.4 kB / 0.625 GB, free: 6.285 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.135e-06/0.01143, allocations: 4 kB / 0.625 GB, free: 6.281 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.01144, allocations: 0 / 0.625 GB, free: 6.281 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.01144, allocations: 4 kB / 0.6251 GB, free: 6.277 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001569/0.0116, allocations: 188.6 kB / 0.6252 GB, free: 6.051 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-06/0.0116, allocations: 0 / 0.6252 GB, free: 6.051 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.676e-05/0.01164, allocations: 11.98 kB / 0.6252 GB, free: 6.039 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.01164, allocations: 192 / 0.6252 GB, free: 6.039 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.897e-06/0.01165, allocations: 0 / 0.6252 GB, free: 6.039 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.01165, allocations: 3.938 kB / 0.6252 GB, free: 6.035 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.01165, allocations: 0 / 0.6252 GB, free: 6.035 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001744/0.01183, allocations: 156.9 kB / 0.6254 GB, free: 5.863 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 2.745e-05/0.01185, allocations: 15.91 kB / 0.6254 GB, free: 5.848 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.41e-05/0.01188, allocations: 8 kB / 0.6254 GB, free: 5.84 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.083e-05/0.01191, allocations: 7.984 kB / 0.6254 GB, free: 5.832 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.888e-05/0.01197, allocations: 11.98 kB / 0.6254 GB, free: 5.82 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.344e-05/0.01198, allocations: 4 kB / 0.6254 GB, free: 5.816 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0001409/0.01212, allocations: 199.5 kB / 0.6256 GB, free: 5.621 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.01212, allocations: 0 / 0.6256 GB, free: 5.621 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002114/0.01233, allocations: 35.94 kB / 0.6257 GB, free: 5.586 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,intTab.y,intTab.combiTimeTable.nextTimeEvent,intTab.combiTimeTable.nextTimeEventScaled,intRep.y[1],intRep.y[2]) * Number of discrete states: 2 (intTab.combiTimeTable.nextTimeEvent,intTab.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 5 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001251/0.01359, allocations: 1.041 MB / 0.6267 GB, free: 4.73 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002076/0.01379, allocations: 79.88 kB / 0.6268 GB, free: 4.652 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.01379, allocations: 0 / 0.6268 GB, free: 4.652 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 5.726e-05/0.01385, allocations: 35.98 kB / 0.6268 GB, free: 4.617 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002334/0.01409, allocations: 42.2 kB / 0.6268 GB, free: 4.582 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001795/0.01588, allocations: 2.003 MB / 0.6288 GB, free: 2.488 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.862e-05/0.01597, allocations: 114.8 kB / 0.6289 GB, free: 2.359 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 7.446e-05/0.01604, allocations: 25.78 kB / 0.6289 GB, free: 2.332 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.195e-05/0.01613, allocations: 52.47 kB / 0.629 GB, free: 2.281 MB / 0.5886 GB Notification: Performance of SimCode: time 9.22e-07/0.01613, allocations: 0 / 0.629 GB, free: 2.281 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02359/0.03972, allocations: 5.627 MB / 0.6345 GB, free: 12.76 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.89/6.93, allocations: 3.172 kB / 0.6345 GB, free: 12.76 MB / 0.6042 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Utilities.Math.Examples.IntegerReplicator.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.IntegerReplicator.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.IntegerReplicator.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.IntegerReplicator.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Utilities.Math.Examples.IntegerReplicator_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 IDEAS_IDEAS_Utilities_Math_Examples_IntegerReplicator.fmu > IDEAS_IDEAS.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.885245217941701] Failed to read output from testmodel.py, exit status != 0: 7.030185512267053 7.047065354 7.0374832 Calling exit ...