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.001376/0.001377, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.423/1.423, allocations: 222.9 MB / 238.9 MB, free: 4.73 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.00172/0.00172, allocations: 192.4 kB / 289.1 MB, free: 2.469 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5407/0.5407, allocations: 91.9 MB / 431.2 MB, free: 9.445 MB / 302.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.001756/0.001756, allocations: 71.89 kB / 0.5013 GB, free: 8.074 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4635/0.4652, allocations: 71.26 MB / 0.5709 GB, free: 36.45 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Sources.CurrentSourceReImInputConstant): time 0.006573/0.4719, allocations: 6.436 MB / 0.5772 GB, free: 32.69 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0042/0.4761, allocations: 1.833 MB / 0.579 GB, free: 31.63 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008629/0.477, allocations: 12.47 kB / 0.579 GB, free: 31.63 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006289/0.4777, allocations: 193.5 kB / 0.5792 GB, free: 31.55 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001258/0.479, allocations: 487.1 kB / 0.5796 GB, free: 31.23 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001508/0.4805, allocations: 0.7109 MB / 0.5803 GB, free: 30.84 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001332/0.4818, allocations: 1.299 MB / 0.5816 GB, free: 30.2 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003736/0.4822, allocations: 258.4 kB / 0.5819 GB, free: 30.09 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004953/0.4827, allocations: 0.5102 MB / 0.5823 GB, free: 29.85 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006431/0.4834, allocations: 0.6714 MB / 0.583 GB, free: 29.54 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001273/0.4835, allocations: 67.25 kB / 0.5831 GB, free: 29.54 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003977/0.4839, allocations: 174.2 kB / 0.5832 GB, free: 29.5 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001941/0.4841, allocations: 240.5 kB / 0.5835 GB, free: 29.36 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004264/0.4845, allocations: 0.567 MB / 0.584 GB, free: 28.99 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001125/0.4857, allocations: 1.397 MB / 0.5854 GB, free: 28.35 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.4857, allocations: 0 / 0.5854 GB, free: 28.35 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.4857, allocations: 4 kB / 0.5854 GB, free: 28.35 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.347e-05/0.4857, allocations: 0 / 0.5854 GB, free: 28.35 MB / 430.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.008001/0.4937, allocations: 2.502 MB / 0.5878 GB, free: 27.23 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.532e-05/0.4938, allocations: 10.28 kB / 0.5878 GB, free: 27.23 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000163/0.494, allocations: 117.8 kB / 0.588 GB, free: 27.15 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004285/0.4983, allocations: 0.6732 MB / 0.5886 GB, free: 27.01 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001064/0.4993, allocations: 0.7408 MB / 0.5893 GB, free: 26.47 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003374/0.4997, allocations: 341.2 kB / 0.5897 GB, free: 26.16 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001538/0.4998, allocations: 79.53 kB / 0.5897 GB, free: 26.13 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002331/0.5022, allocations: 1.112 MB / 0.5908 GB, free: 25.71 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.708e-05/0.5022, allocations: 0 / 0.5908 GB, free: 25.71 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.45e-05/0.5023, allocations: 29.69 kB / 0.5908 GB, free: 25.68 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.162e-05/0.5023, allocations: 16.72 kB / 0.5909 GB, free: 25.68 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00229/0.5046, allocations: 1.049 MB / 0.5919 GB, free: 25.34 MB / 430.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.005839/0.5105, allocations: 3.426 MB / 0.5952 GB, free: 23.35 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01619/0.5267, allocations: 3.96 MB / 0.5991 GB, free: 22.29 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001935/0.5287, allocations: 0.7304 MB / 0.5998 GB, free: 22 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001268/0.5288, allocations: 15.52 kB / 0.5998 GB, free: 22 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.108e-05/0.5288, allocations: 51.92 kB / 0.5999 GB, free: 21.95 MB / 430.1 MB Notification: Performance of pre-optimization done (n=88): time 2.845e-06/0.5288, allocations: 0 / 0.5999 GB, free: 21.95 MB / 430.1 MB Notification: Performance of matching and sorting (n=88): time 0.03836/0.5672, allocations: 8.459 MB / 0.6081 GB, free: 20.6 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.703e-05/0.5673, allocations: 87.27 kB / 0.6082 GB, free: 20.51 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001478/0.5688, allocations: 0.8493 MB / 0.6091 GB, free: 20.05 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000232/0.569, allocations: 41.11 kB / 0.6091 GB, free: 20 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002811/0.5693, allocations: 452.5 kB / 0.6095 GB, free: 19.61 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003497/0.5697, allocations: 310.2 kB / 0.6098 GB, free: 19.34 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003742/0.5701, allocations: 157.9 kB / 0.61 GB, free: 19.24 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.118e-05/0.5701, allocations: 345 kB / 0.6103 GB, free: 18.9 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001487/0.5716, allocations: 0.6393 MB / 0.6109 GB, free: 18.59 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001595/0.5732, allocations: 0.7749 MB / 0.6117 GB, free: 18.12 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003453/0.5767, allocations: 1.438 MB / 0.6131 GB, free: 17.32 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-05/0.5767, allocations: 1.125 kB / 0.6131 GB, free: 17.32 MB / 430.1 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.01554/0.5923, allocations: 4.301 MB / 0.6173 GB, free: 14.76 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.99e-05/0.5924, allocations: 10.12 kB / 0.6173 GB, free: 14.75 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.289e-05/0.5924, allocations: 4.312 kB / 0.6173 GB, free: 14.75 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006356/0.5987, allocations: 2.088 MB / 0.6193 GB, free: 12.65 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00101/0.5998, allocations: 123.8 kB / 0.6195 GB, free: 12.53 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0362/0.636, allocations: 9.794 MB / 0.629 GB, free: 2.602 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002044/0.6381, allocations: 167 kB / 0.6292 GB, free: 2.438 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002936/0.6384, allocations: 32 kB / 0.6292 GB, free: 2.406 MB / 430.1 MB 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.0007077/0.6391, allocations: 229.6 kB / 0.6294 GB, free: 2.172 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003722/0.6395, allocations: 110.6 kB / 0.6295 GB, free: 2.062 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01535/0.6548, allocations: 4.267 MB / 0.6337 GB, free: 13.77 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.985e-05/0.6549, allocations: 8 kB / 0.6337 GB, free: 13.76 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/0.6549, allocations: 0 / 0.6337 GB, free: 13.76 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.784e-05/0.6549, allocations: 7.984 kB / 0.6337 GB, free: 13.75 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01838/0.6733, allocations: 5.69 MB / 0.6393 GB, free: 7.945 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-05/0.6734, allocations: 0 / 0.6393 GB, free: 7.945 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005404/0.674, allocations: 79.84 kB / 0.6393 GB, free: 7.867 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007142/0.6811, allocations: 1.983 MB / 0.6413 GB, free: 5.879 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001967/0.6813, allocations: 16 kB / 0.6413 GB, free: 5.863 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02299/0.7043, allocations: 8.622 MB / 0.6497 GB, free: 13.1 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.604e-06/0.7044, allocations: 3.938 kB / 0.6497 GB, free: 13.1 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01673/0.7211, allocations: 5.239 MB / 0.6548 GB, free: 7.832 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005967/0.7218, allocations: 191.6 kB / 0.655 GB, free: 7.625 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001736/0.722, allocations: 24.02 kB / 0.655 GB, free: 7.602 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001115/0.7231, allocations: 95.89 kB / 0.6551 GB, free: 7.508 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008125/0.7239, allocations: 224.6 kB / 0.6554 GB, free: 7.289 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.06e-05/0.724, allocations: 23.98 kB / 0.6554 GB, free: 7.266 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0008451/0.7248, allocations: 0.5791 MB / 0.6559 GB, free: 6.676 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.7249, allocations: 0 / 0.6559 GB, free: 6.676 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001459/0.7263, allocations: 423.6 kB / 0.6563 GB, free: 6.262 MB / 462.1 MB 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.01717/0.7435, allocations: 5.812 MB / 0.662 GB, free: 424 kB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00768/0.7512, allocations: 2.375 MB / 0.6643 GB, free: 14.02 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.43e-06/0.7513, allocations: 0 / 0.6643 GB, free: 14.02 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005724/0.757, allocations: 1.631 MB / 0.6659 GB, free: 12.38 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001401/0.7584, allocations: 87.48 kB / 0.666 GB, free: 12.29 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04252/0.801, allocations: 16.2 MB / 0.6818 GB, free: 11.71 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008069/0.8018, allocations: 1.049 MB / 0.6829 GB, free: 10.63 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003991/0.8022, allocations: 82.31 kB / 0.6829 GB, free: 10.55 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005377/0.8028, allocations: 399.3 kB / 0.6833 GB, free: 10.16 MB / 494.1 MB Notification: Performance of SimCode: time 1.072e-06/0.8028, allocations: 0 / 0.6833 GB, free: 10.16 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06779/0.8706, allocations: 32.65 MB / 0.7152 GB, free: 9.664 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002271/0.8708, allocations: 236.7 kB / 0.7154 GB, free: 9.402 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.819/3.69, allocations: 0 / 0.7154 GB, free: 9.402 MB / 0.5137 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Sources_CurrentSourceReImInputConstant_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Sources_CurrentSourceReImInputConstant.fmu > OpenIPSL_dev_OpenIPSL.Tests.Sources.CurrentSourceReImInputConstant.pipe 2>&1)