Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Sources.CurrentSourceReImInputConstant.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.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(OpenIPSL.Tests.Sources.CurrentSourceReImInputConstant,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Sources_CurrentSourceReImInputConstant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Sources.CurrentSourceReImInputConstant,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Sources_CurrentSourceReImInputConstant",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006109/0.006109, allocations: 100 kB / 15.73 MB, free: 6.02 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.371/1.371, allocations: 222.9 MB / 239.4 MB, free: 4.504 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001702/0.001702, allocations: 184.5 kB / 289.7 MB, free: 2.211 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5495/0.5495, allocations: 91.98 MB / 431.8 MB, free: 9.039 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002159/0.002159, allocations: 76.69 kB / 0.5723 GB, free: 33.52 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1188/0.1209, allocations: 71.29 MB / 0.642 GB, free: 3.965 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Sources.CurrentSourceReImInputConstant): time 0.007008/0.128, allocations: 6.079 MB / 0.6479 GB, free: 13.86 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.0035/0.1315, allocations: 1.778 MB / 0.6496 GB, free: 12.07 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005102/0.1321, allocations: 8 kB / 0.6496 GB, free: 12.07 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005432/0.1326, allocations: 230.1 kB / 0.6499 GB, free: 11.84 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001249/0.1339, allocations: 0.551 MB / 0.6504 GB, free: 11.29 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001613/0.1355, allocations: 0.7627 MB / 0.6511 GB, free: 10.53 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001614/0.1372, allocations: 1.358 MB / 0.6525 GB, free: 9.164 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004344/0.1376, allocations: 291.6 kB / 0.6527 GB, free: 8.867 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006656/0.1383, allocations: 0.5446 MB / 0.6533 GB, free: 8.32 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008225/0.1391, allocations: 0.7039 MB / 0.654 GB, free: 7.613 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001634/0.1393, allocations: 104 kB / 0.6541 GB, free: 7.512 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004237/0.1397, allocations: 215.9 kB / 0.6543 GB, free: 7.301 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002591/0.14, allocations: 278.9 kB / 0.6545 GB, free: 7.027 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005432/0.1405, allocations: 0.5942 MB / 0.6551 GB, free: 6.43 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001567/0.1421, allocations: 1.459 MB / 0.6565 GB, free: 4.965 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.1421, allocations: 0 / 0.6565 GB, free: 4.965 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1421, allocations: 0 / 0.6565 GB, free: 4.965 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.91e-05/0.1422, allocations: 4 kB / 0.6565 GB, free: 4.961 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 176 * Number of variables: 176 Notification: Performance of Generate backend data structure: time 0.008076/0.1502, allocations: 2.535 MB / 0.659 GB, free: 2.371 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/0.1503, allocations: 12.02 kB / 0.659 GB, free: 2.359 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001626/0.1505, allocations: 122.4 kB / 0.6591 GB, free: 2.23 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004172/0.1547, allocations: 0.6821 MB / 0.6598 GB, free: 1.547 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001212/0.1559, allocations: 0.737 MB / 0.6605 GB, free: 0.7539 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003963/0.1563, allocations: 341.3 kB / 0.6609 GB, free: 376 kB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001454/0.1564, allocations: 83.88 kB / 0.6609 GB, free: 292 kB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002363/0.1588, allocations: 1.11 MB / 0.662 GB, free: 15.16 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.188e-05/0.1589, allocations: 4 kB / 0.662 GB, free: 15.15 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.214e-05/0.159, allocations: 28 kB / 0.6621 GB, free: 15.12 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.624e-05/0.159, allocations: 16 kB / 0.6621 GB, free: 15.11 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002436/0.1614, allocations: 1.058 MB / 0.6631 GB, free: 14.05 MB / 478.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006612/0.1681, allocations: 3.413 MB / 0.6664 GB, free: 10.48 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01703/0.1851, allocations: 3.942 MB / 0.6703 GB, free: 6.402 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00184/0.187, allocations: 0.7352 MB / 0.671 GB, free: 5.664 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001446/0.1872, allocations: 17 kB / 0.671 GB, free: 5.648 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.88e-05/0.1872, allocations: 43.56 kB / 0.6711 GB, free: 5.594 MB / 478.1 MB Notification: Performance of pre-optimization done (n=88): time 3.838e-06/0.1872, allocations: 0 / 0.6711 GB, free: 5.594 MB / 478.1 MB Notification: Performance of matching and sorting (n=88): time 0.03646/0.2237, allocations: 8.462 MB / 0.6793 GB, free: 13.09 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.718e-05/0.2238, allocations: 86.11 kB / 0.6794 GB, free: 12.99 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001269/0.2251, allocations: 0.853 MB / 0.6802 GB, free: 12.12 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001887/0.2253, allocations: 41.7 kB / 0.6803 GB, free: 12.07 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003671/0.2257, allocations: 465 kB / 0.6807 GB, free: 11.61 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003703/0.2261, allocations: 325.1 kB / 0.681 GB, free: 11.29 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003689/0.2264, allocations: 162.6 kB / 0.6812 GB, free: 11.12 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001513/0.2266, allocations: 345.8 kB / 0.6815 GB, free: 10.78 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001598/0.2282, allocations: 0.6344 MB / 0.6821 GB, free: 10.15 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001708/0.2299, allocations: 0.7768 MB / 0.6829 GB, free: 9.324 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003283/0.2332, allocations: 1.434 MB / 0.6843 GB, free: 7.844 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.502e-06/0.2333, allocations: 3.938 kB / 0.6843 GB, free: 7.84 MB / 494.1 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.01533/0.2486, allocations: 4.312 MB / 0.6885 GB, free: 3.516 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.988e-05/0.2487, allocations: 4 kB / 0.6885 GB, free: 3.512 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.234e-05/0.2487, allocations: 4 kB / 0.6885 GB, free: 3.508 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007481/0.2562, allocations: 2.08 MB / 0.6905 GB, free: 1.422 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006931/0.2569, allocations: 131.8 kB / 0.6907 GB, free: 1.293 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03023/0.2871, allocations: 10.65 MB / 0.7011 GB, free: 6.492 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001602/0.2888, allocations: 167.3 kB / 0.7012 GB, free: 6.328 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00021/0.289, allocations: 35.94 kB / 0.7013 GB, free: 6.293 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (77): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(26,15)} Notification: Performance of prepare postOptimizeDAE: time 0.0005798/0.2896, allocations: 226.7 kB / 0.7015 GB, free: 6.062 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003599/0.29, allocations: 115.2 kB / 0.7016 GB, free: 5.949 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01565/0.3056, allocations: 4.271 MB / 0.7058 GB, free: 1.656 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.151e-05/0.3057, allocations: 8 kB / 0.7058 GB, free: 1.648 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.208e-06/0.3057, allocations: 7.938 kB / 0.7058 GB, free: 1.641 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.206e-05/0.3058, allocations: 3.984 kB / 0.7058 GB, free: 1.637 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01768/0.3234, allocations: 5.678 MB / 0.7113 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.882e-05/0.3235, allocations: 0 / 0.7113 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004999/0.324, allocations: 83.84 kB / 0.7114 GB, free: 11.76 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007339/0.3314, allocations: 1.971 MB / 0.7133 GB, free: 9.781 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002066/0.3316, allocations: 16 kB / 0.7134 GB, free: 9.766 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02622/0.3578, allocations: 9.458 MB / 0.7226 GB, free: 168 kB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/0.3579, allocations: 4 kB / 0.7226 GB, free: 164 kB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01771/0.3756, allocations: 5.252 MB / 0.7277 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004717/0.3761, allocations: 204.1 kB / 0.7279 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003701/0.3765, allocations: 16 kB / 0.7279 GB, free: 10.65 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001298/0.3778, allocations: 99.88 kB / 0.728 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008369/0.3787, allocations: 232.5 kB / 0.7282 GB, free: 10.32 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001161/0.3788, allocations: 24 kB / 0.7283 GB, free: 10.3 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0009567/0.3798, allocations: 0.583 MB / 0.7288 GB, free: 9.703 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.01e-07/0.3798, allocations: 0 / 0.7288 GB, free: 9.703 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001529/0.3813, allocations: 427.7 kB / 0.7292 GB, free: 9.285 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (gENCLS.delta,gENCLS.eq,gENCLS.omega) * 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 (50): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(26,15)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01808/0.3994, allocations: 5.8 MB / 0.7349 GB, free: 3.453 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.008076/0.4075, allocations: 2.428 MB / 0.7373 GB, free: 1.008 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.4076, allocations: 4.25 kB / 0.7373 GB, free: 1.004 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.005931/0.4135, allocations: 1.679 MB / 0.7389 GB, free: 15.3 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001012/0.4146, allocations: 84.75 kB / 0.739 GB, free: 15.22 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04276/0.4573, allocations: 15.37 MB / 0.754 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008209/0.4582, allocations: 1.049 MB / 0.755 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0003569/0.4586, allocations: 78.31 kB / 0.7551 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006301/0.4592, allocations: 403.3 kB / 0.7555 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of SimCode: time 6.81e-07/0.4592, allocations: 0 / 0.7555 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3333/0.7926, allocations: 35.8 MB / 0.7905 GB, free: 113.8 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.06/16.86, allocations: 2.25 kB / 0.7905 GB, free: 113.8 MB / 0.5606 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Sources.CurrentSourceReImInputConstant.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Sources.CurrentSourceReImInputConstant.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Sources.CurrentSourceReImInputConstant.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Sources.CurrentSourceReImInputConstant.sim & python3 -m fmpy simulate --output-file OpenIPSL_dev_OpenIPSL.Tests.Sources.CurrentSourceReImInputConstant_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 OpenIPSL_dev_OpenIPSL_Tests_Sources_CurrentSourceReImInputConstant.fmu > OpenIPSL_dev_OpenIPSL.Tests.Sources.CurrentSourceReImInputConstant.pipe 2>&1)